Commit 40fa2879 by BellCodeEditor

save project

parent 802bf1d8
Showing with 13 additions and 11 deletions
total = [] def add():
while True: x = 5
unit= input("请输入:") y = 9
if unit== 'q': print("return前")
break return x
else: print("return后")
total.append(unit) z = x + y
print(total) result = add()
\ No newline at end of file print(result)
\ No newline at end of file
try: try:
try: try:
age = int(input('你今年几岁了?')) age = int(input('你今年几岁了?'))
except: except:
print('') print('???')
print('我比你大十岁') print('我比你大十岁')
\ 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