Commit 18c3cb75 by BellCodeEditor

save project

parent 3b3fd425
Showing with 3 additions and 4 deletions
......@@ -8,9 +8,9 @@ def new_input():
else:
try:
unit=int(unit)
except
except:
print("请输入新的数字")
else
else:
return total
def sum(money):
count=0
......@@ -20,5 +20,4 @@ for i in money:
print=new_input()
pay=sum(money)
print("你实际消费"+(str(pay)+"元")
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