Commit 4832c58d by BellCodeEditor

save project

parent 88548eb8
Showing with 6 additions and 0 deletions
...@@ -13,5 +13,11 @@ def new_input(): ...@@ -13,5 +13,11 @@ def new_input():
else: else:
total.append(unit) total.append(unit)
return total return total
def sum(money):
s=0
for i in money:
s=s + i
return s
clajk=new_input() clajk=new_input()
z=sum(clajk)
print(clajk) print(clajk)
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