Commit 04e8c6f1 by BellCodeEditor

save project

parent 0ae646ea
Showing with 10 additions and 0 deletions
...@@ -12,6 +12,16 @@ def new_input(): ...@@ -12,6 +12,16 @@ def new_input():
else: else:
print("-"*30) print("-"*30)
return total return total
def sum(money):
count=0
for i in money:
count=count+i
return count
result=new_input()
a=sum(result)
print(a)
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