Commit 6994b80e by BellCodeEditor

save project

parent 10f5dc26
Showing with 11 additions and 4 deletions
...@@ -13,6 +13,13 @@ def a(): ...@@ -13,6 +13,13 @@ def a():
total.append(unit) total.append(unit)
print(total) print(total)
return total return total
r=a() r=a()
k=r[0] def b(r):
print(k) sum=0
\ No newline at end of file for i in r:
sum+=i
print(sum)
ruturn sum
# k=r[0]
# print(k)
\ 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