Commit a1cdb30c by BellCodeEditor

auto save

parent 471b10c8
Showing with 1 additions and 5 deletions
...@@ -3,8 +3,6 @@ def new_input(): ...@@ -3,8 +3,6 @@ def new_input():
while True: while True:
unit= input("请输入(q退出):") unit= input("请输入(q退出):")
if unit== 'q': if unit== 'q':
return total
print(total)
break break
else: else:
try: try:
...@@ -15,7 +13,5 @@ def new_input(): ...@@ -15,7 +13,5 @@ def new_input():
total.append(unit) total.append(unit)
print("-"*30) print("-"*30)
print(retum total)
new_input() new_input()
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