Commit 1ea2e463 by BellCodeEditor

auto save

parent 68f7af43
......@@ -18,6 +18,4 @@ def sum(money):
for i in money:
count = count + i
return count
price = store()
pay = sum(price)
print("您一共消费了" + str(pay) + "元!扫码还是现金呢?")
\ No newline at end of file
import w
import w
import w
A=w.store()
B=w.sum()
\ No newline at end of file
B=w.sum(A)
print("你得了"+str(B))
\ 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