Commit db5663c3 by BellCodeEditor

auto save

parent f4b82bef
Showing with 2 additions and 1 deletions
...@@ -14,7 +14,7 @@ def sum(fb): ...@@ -14,7 +14,7 @@ def sum(fb):
count = 0 count = 0
for i in fb: for i in fb:
count = count + i count = count + i
print('您一共消费了'+str(count)+'元!扫码还是现金呢?') #print('您一共消费了'+str(count)+'元!扫码还是现金呢?')
nb = sb() nb = sb()
sum(nb) sum(nb)
\ 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