Commit e915af57 by BellCodeEditor

save project

parent 26663d9d
Showing with 3 additions and 2 deletions
......@@ -16,14 +16,14 @@ def new_input():
return total
ooo=new_input()
print(ooo)
def sum(money)
def sum(money):
he=0
for i in money:
he=he+i
return he
price=new_input()
pay=sum(price)
print("")
print("你一共花了"+str(pay)+"元")
\ 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