Commit 529a7837 by BellCodeEditor

save project

parent 9145a4d7
Showing with 3 additions and 2 deletions
...@@ -17,9 +17,10 @@ def sum(): ...@@ -17,9 +17,10 @@ def sum():
for i in money: for i in money:
count=count+i count=count+i
return count return count
price = new_input()
pay = sum(price)
a=new_input() a=new_input()
print(a) 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