Commit 35cfd7c3 by BellCodeEditor

save project

parent b7aecd6d
Showing with 11 additions and 2 deletions
......@@ -17,4 +17,14 @@ def func():
return total
result = new_input()
func()
\ No newline at end of file
func()
def sum(money):
count = 0
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