Commit 3e95e747 by BellCodeEditor

save project

parent a3aef222
Showing with 8 additions and 3 deletions
......@@ -13,5 +13,10 @@ def new_input():
total.append(s)
print(total)
return total
new_input()
print()
\ No newline at end of file
# new_input()
def sum(yuan):
f=0
for i in yuan:
f=f+i
print("您一共消费"+int(f)+"元!扫码还是现金呢?")
return f
\ 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