Commit 111f0972 by BellCodeEditor

save project

parent 8cc0d39a
Showing with 8 additions and 7 deletions
...@@ -14,9 +14,10 @@ def new_input(): ...@@ -14,9 +14,10 @@ def new_input():
finally: finally:
print("-"*30) print("-"*30)
return total return total
print(new_input()) def sum(money):
def sum(money): count=0
count=0 for i in money:
for i in money: count=count+i
count=count+i return count
return count new_input()
\ No newline at end of file sum(money)
\ 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