Commit cc28fc57 by BellCodeEditor

save project

parent befe9bbe
Showing with 9 additions and 3 deletions
...@@ -12,7 +12,13 @@ def func(): ...@@ -12,7 +12,13 @@ def func():
else: else:
total.append(unit) total.append(unit)
return total return total
def sum(c):
a=func()
b=0
for i in a:
b+=i
return b
a=func() a=func()
d=sum(a)
print(d)
\ No newline at end of file \ 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