Commit c7526172 by BellCodeEditor

save project

parent 1ff31fac
Showing with 10 additions and 1 deletions
...@@ -14,5 +14,13 @@ def new_input(): ...@@ -14,5 +14,13 @@ def new_input():
print("-"*30) print("-"*30)
print(total) print(total)
return total return total
print(new_input())
def sum(money):
count=0
for i in money:
count+=i
return count
a=new_input()
money2=sum(a)
print(money2)
\ 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