Commit 93837352 by BellCodeEditor

save project

parent d59c7448
Showing with 7 additions and 1 deletions
...@@ -12,7 +12,13 @@ def a(): ...@@ -12,7 +12,13 @@ def a():
else: else:
total.append(unit) total.append(unit)
return total return total
def sum(money):
count=0
for i in money:
count=count+i
return count
w=a() w=a()
print(w) b=sum(w)
print(b)
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