Commit 49416bfb by BellCodeEditor

save project

parent 4b8b260c
Showing with 1 additions and 1 deletions
...@@ -15,7 +15,7 @@ def sum(money): ...@@ -15,7 +15,7 @@ def sum(money):
count=0 count=0
for i in money: for i in money:
count=count+i count=count+i
return count return count
poz=new_input() poz=new_input()
poi=sum(price) poi=sum(price)
print("你一共消费"+str(poi)+"元") print("你一共消费"+str(poi)+"元")
......
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