Commit 417a9d72 by BellCodeEditor

save project

parent dc18d2f2
Showing with 8 additions and 2 deletions
...@@ -12,5 +12,12 @@ def abcdefg(): ...@@ -12,5 +12,12 @@ def abcdefg():
total.append(unit) total.append(unit)
print(total) print(total)
return total return total
def cum(abc):
abcd=0
for i in abc:
abcd+=i
return abcd
a=abcdefg() a=abcdefg()
print(a) print(a)
\ No newline at end of file d=cum(a)
print(d)
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