Commit d111b35a by BellCodeEditor

auto save

parent b361b0d3
Showing with 4 additions and 3 deletions
......@@ -2,10 +2,10 @@ def new_input():
total = []
while True:
try:
unit= input("请输入:")
if unit== 'q':
unit1= input("请输入:")
if unit1== 'q':
break
else:
total.append(unit)
total.append(unit1)
print(total)
new_input()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment