Commit 65d40003 by BellCodeEditor

save project

parent 0e70c10c
Showing with 8 additions and 0 deletions
...@@ -15,3 +15,10 @@ def new_iput(): ...@@ -15,3 +15,10 @@ def new_iput():
return=new_iput() return=new_iput()
print(result) print(result)
def sum(money):
count=0
for i in money:
count=count+i
price=new_iput()
pay=sum(price)
print("您一共消费了"+str(pay)+"元!saosao")
\ 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