Commit a0d6583a by BellCodeEditor

save project

parent 6a4d6ab7
Showing with 3 additions and 2 deletions
......@@ -12,8 +12,7 @@ def new_input():
else:
total.append(unit)
print("-"*30)
print(total)
new_input()
return(total)
def sum(money):
count=0
for i in money:
......@@ -21,3 +20,4 @@ def sum(money):
return count
price=new_input()
pay=sum(price)
print(str(pay))
\ No newline at end of file
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