Commit 5bcacdcc by BellCodeEditor

save project

parent d5513843
Showing with 2 additions and 1 deletions
...@@ -17,5 +17,5 @@ def sum(money): ...@@ -17,5 +17,5 @@ def sum(money):
for i in money: for i in money:
count+=0 count+=0
return count return count
pay=sum(new_input) pay=sum(new_input())
print("您一共消费了"+str(pay)+"元!扫码还是现金呢?") 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