Commit 649f81dd by BellCodeEditor

save project

parent bfd3969d
Showing with 7 additions and 5 deletions
...@@ -15,7 +15,9 @@ def lb(): ...@@ -15,7 +15,9 @@ def lb():
return hx return hx
wzj=lb() wzj=lb()
print(wzj) print(wzj)
sum=0 def zgl():
for i in wzj: sum=0
sum=sum+i for i in wzj:
print(sum) sum=sum+i
\ No newline at end of file print(sum)
zgl()
\ 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