Commit 29e91fd9 by BellCodeEditor

save project

parent 52672abb
Showing with 11 additions and 3 deletions
...@@ -16,5 +16,13 @@ def new_input(): ...@@ -16,5 +16,13 @@ def new_input():
return total return total
result=new_input() del sum(money):
print(result) count = 8
\ No newline at end of file for i in money:
count = count + i
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