Commit dd9d2364 by BellCodeEditor

save project

parent 6b24ab10
Showing with 10 additions and 2 deletions
......@@ -14,5 +14,13 @@ def asdfg():
return total
def sun(money):
count=0
for i in money:
count=count+i
return count
result=asdfg()
print(result)
\ No newline at end of file
pay=sum(result)
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