Commit 35cfd7c3 by BellCodeEditor

save project

parent b7aecd6d
Showing with 10 additions and 0 deletions
...@@ -18,3 +18,13 @@ def func(): ...@@ -18,3 +18,13 @@ def func():
result = new_input() result = new_input()
func() 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