Commit 7ca345af by BellCodeEditor

auto save

parent ada5ce0d
Showing with 10 additions and 2 deletions
...@@ -13,5 +13,13 @@ def func(): ...@@ -13,5 +13,13 @@ def func():
total.append(unit1) total.append(unit1)
return total return total
# result = func() def sum(money):
print(func()) c = 0
for i in money:
c = c + i
return c
result = func()
print(result)
print(sum(result))
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