Commit b6b9290a by BellCodeEditor

save project

parent 545415e9
Showing with 3 additions and 2 deletions
...@@ -17,7 +17,7 @@ def new_input(): ...@@ -17,7 +17,7 @@ def new_input():
def sum(money): def sum(money):
a = 0 a = 0
for i in money: for i in money:
a = a+1 a = a+i
return a return a
result = sum(money) result = sum(new_input())
print(result) print(result)
\ 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