Commit 3399c6e6 by BellCodeEditor

save project

parent 047fef81
Showing with 3 additions and 3 deletions
......@@ -14,11 +14,11 @@ def new_input():
return topoio
def sum(money):
count=0
for i in money:
for i in money:
count=count+i
return count
return count
poz=new_input()
poi=sum(price)
poi=sum(poz)
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