Commit bc3bca37 by BellCodeEditor

save project

parent 20865539
Showing with 9 additions and 2 deletions
...@@ -14,5 +14,12 @@ def x_23(): ...@@ -14,5 +14,12 @@ def x_23():
print("_"*30) print("_"*30)
result = x_23() result = x_23()
print(total) print(total)
result = x_23() def sum(money):
print(result) count=0
for i in money:
count=coun
return count
price = x_23()
pay=sum(price)
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