Commit deddd8de by BellCodeEditor

save project

parent f37fe8e8
Showing with 17 additions and 9 deletions
total = []
while True:
unit= input("请输入:")
if unit== 'q':
break
else:
total.append(unit)
\ No newline at end of file
#total = []
#while True:
# unit= input("请输入:")
# if unit== 'q':
# break
# else:
#total.append(unit)
def add():
x = 5
y = 9
print("执行ruturn之前")
return x
print("执行ruturn之后")
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