Commit ea18f353 by BellCodeEditor

save project

parent d6f305ae
Showing with 10 additions and 3 deletions
...@@ -16,5 +16,13 @@ def new_input(): ...@@ -16,5 +16,13 @@ def new_input():
return total return total
result = new_input() def sun(money):
print(result) count = 0
\ No newline at end of file for i in money:
count = count + i
return count
price = new_input()
pay = sun(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