Commit 43d0be6c by BellCodeEditor

save project

parent f61a7658
Showing with 5 additions and 9 deletions
def add(): price=[15,18,14,25]
x=5 count=0
y=9 for i in price:
print("执行return之前") count = count+i
return x print(count)
print("执行return之后")
z=x+y
result = add()
print(result)
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