Commit e27d4f67 by BellCodeEditor

save project

parent 39fcecaf
Showing with 3 additions and 3 deletions
...@@ -18,8 +18,8 @@ def new_input(): ...@@ -18,8 +18,8 @@ def new_input():
def sun(money): def sun(money):
count = 0 count = 0
for i in money for i in money:
count = count + i count = count + i
return count return count
print("你消费了"str(sumnew_input())) + "元!扫码还是现金呢?") print("你消费了" + str(sum(new_input())) + "元!扫码还是现金呢?")
\ No newline at end of file \ 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