Commit cd942d5f by BellCodeEditor

save project

parent 278c1c0f
Showing with 2 additions and 3 deletions
......@@ -5,15 +5,14 @@ def new_input():
if unit== 'q':
break
else:
total.append(unit)
try:
money = int(money)
unit= int(unit)
except:
print("请输入一个数字")
else:
total.append(unit)
finally:
print("-"*30)
print(============)
return total
def sum(money):
......
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