Commit c594d080 by BellCodeEditor

save project

parent 36762aac
Showing with 5 additions and 6 deletions
...@@ -5,14 +5,13 @@ def new_input(): ...@@ -5,14 +5,13 @@ def new_input():
if unit== 'q': if unit== 'q':
break break
else: else:
total.append(unit)
print(total)
new_input()
try: try:
input() unit=int(unit)
except: except:
print("输入错误") print("输入错误")
else: else:
print("") total.append(unit)
print("_"*30)
print(total)
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