Commit 256efec6 by BellCodeEditor

save project

parent 0e20a739
Showing with 6 additions and 10 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之后") \ No newline at end of file
z = x + y
result = add()
print(result)
\ 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