Commit 44021c8f by BellCodeEditor

save project

parent 744deec5
Showing with 15 additions and 12 deletions
a=[]
while True:
i=input("输入:")
if i=="q":
break
try:
i=int(i)
except:
print("苏书自!")
else:
a.append(i)
print(a)
def fcx():
fcx=[]
while True:
i=input("输入:")
if i=="q":
break
try:
i=int(i)
except:
print("苏书自!")
else:
fcx.append(i)
return fcx
fcx=fcx()
print(fcx)
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