Commit 3f202dba by BellCodeEditor

save project

parent fbb578e3
Showing with 10 additions and 2 deletions
...@@ -15,4 +15,12 @@ def func(): ...@@ -15,4 +15,12 @@ def func():
return total return total
r = func() r = func()
print(r)
\ No newline at end of file def count(alist)
sum1=0
for i in alist:
sum1 = sum1+i
return sum1
n = count(r)
print(n)
\ 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