Commit ef909f87 by BellCodeEditor

save project

parent 2792311d
Showing with 9 additions and 2 deletions
......@@ -12,10 +12,17 @@ def new_input():
else:
totai.append(unit)
print("-"*30)
print(total)
return total
def sum(money):
count = 0
for i in money:
count = count +i
return count
s = new_input()
print(s)
pay = sum(s)
print("你小覅了"+str(pay)+"元")
......
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