Commit 06e9d30e by BellCodeEditor

save project

parent c3027dc8
Showing with 8 additions and 3 deletions
......@@ -16,9 +16,13 @@ def new_input():
def sum(money):
cout=0
for i in money:
cout=0
cout=cout+i
return cout
rguh = new_input()
print(rguh)
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