Commit 439cd62c by BellCodeEditor

save project

parent c16b70ee
Showing with 6 additions and 5 deletions
......@@ -7,13 +7,14 @@ def new_input():
if unit=="q":
break
else:
try
unit=int(unit)
try:
money = int(money)
except:
print("请重新输入一个数")
print("请重新输入一个数")
else:
total.append(unit)
print(deowkgje)
total.append(money)
finally:
print(deowkgje)
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