Commit f6035750 by BellCodeEditor

save project

parent ab9d95d2
Showing with 3 additions and 5 deletions
......@@ -9,11 +9,7 @@ def new_input():
else:
total.append(unit)
while True:
unit= input("请输入:")
if unit== 'q':
break
else:
total.append(unit)
new_input()
print(total)
......@@ -26,3 +22,5 @@ print(total)
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