Commit 8b4c651e by BellCodeEditor

save project

parent 4e4239c1
Showing with 6 additions and 1 deletions
...@@ -12,7 +12,11 @@ def func(): ...@@ -12,7 +12,11 @@ def func():
total.append(unit) total.append(unit)
print(total) print(total)
return total return total
def jisuan(total):
count=0
for i in total:
count=count+i
return count
abc=func() abc=func()
print(abc) print(abc)
\ 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