Commit 41f46535 by BellCodeEditor

save project

parent 0df5aad3
Showing with 9 additions and 2 deletions
...@@ -11,5 +11,12 @@ def new_input(): ...@@ -11,5 +11,12 @@ def new_input():
else: else:
total.append(unit) total.append(unit)
return total return total
def sum(money)
summoney=0
for i in money=0
summoney+=i
return summoney
tol=new_input() tol=new_input()
print(tol) print(tol)
\ No newline at end of file mon=sum(tol)
print(mon)
\ 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