Commit 62c73384 by BellCodeEditor

save project

parent 39bf6b27
Showing with 8 additions and 2 deletions
......@@ -11,5 +11,11 @@ def new_inpit():
else:
total.append(unit)
return total
def sum(money):
count=0
for i in money:
count+=int(i)
return count
a=new_inpit()
print(a)
\ No newline at end of file
b=sum(a)
print(b)
\ 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