Commit 6b02c5fd by BellCodeEditor

save project

parent 1bb64a67
Showing with 13 additions and 1 deletions
a = 0
for i in range(0,5+1):
a+=i
print(a)
\ No newline at end of file
...@@ -13,4 +13,10 @@ def suanzhang(): ...@@ -13,4 +13,10 @@ def suanzhang():
return total return total
a = suanzhang() a = suanzhang()
print(a) print(a)
def zongjia(y):
x = 0
for i in y:
x+=i
return x
z = zongjia(a)
print(z)
\ 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