Commit f61a7658 by BellCodeEditor

save project

parent b2dbaef6
Showing with 10 additions and 11 deletions
def joy(): def add():
total = [] x=5
while True: y=9
unit= input("请输入:") print("执行return之前")
if unit== 'q': return x
break print("执行return之后")
else: z=x+y
total.append(unit) result = add()
print(total) print(result)
joy()
\ 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