Commit 06e0aebb by BellCodeEditor

save project

parent d4098e6d
Showing with 22 additions and 4 deletions
try: def h():
print("he") a=[]
except: while True:
print("h")
b=input("?")
if b=="a":
break
else:
try:
b=int(b)
except:
print("请重新输入一个数字。")
else:
a.append(b)
print("-"*30)
return a
r=h()
print(r)
\ 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