Commit 0a77f5e3 by BellCodeEditor

save project

parent 095dfeda
Showing with 9 additions and 4 deletions
...@@ -14,6 +14,11 @@ def new_input(): ...@@ -14,6 +14,11 @@ def new_input():
finally: finally:
print("-"*30) print("-"*30)
return total return total
def sum(money):
z=new_input() y=0
print(z) for i in money:
\ No newline at end of file y+=i
return y
m=new_input()
p=sum(m)
print(p)
\ 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