Commit cf552469 by BellCodeEditor

save project

parent 2f7a9742
Showing with 2 additions and 1 deletions
......@@ -5,10 +5,11 @@ def new_input():
unit= int(input("请输入:"))
if unit== 'q':
break
else:
try:
unit = int(unit)
except:
print("滚")
else:
print(total)
total.append(unit)
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