Commit f4878607 by BellCodeEditor

save project

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