Commit cfefd492 by BellCodeEditor

save project

parent 0b141a04
Showing with 17 additions and 2 deletions
...@@ -17,4 +17,20 @@ def new_input(): ...@@ -17,4 +17,20 @@ def new_input():
result = new_input() result = new_input()
print(result) print(result)
\ No newline at end of file for i in money:
count = count + i
return count
price = new_input()
pay = sum(price)
print("你花了" + str(pay) + "块!给爷钱!")
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