Commit 0b5df407 by BellCodeEditor

save project

parent d7f0b19b
Showing with 12 additions and 1 deletions
A=[]
while True:
a=input("b")
if a=="b":
break
else:
A.append(a)
try:
a=int(a)
except:
print("请输入整数")
else:
A.append(a)
print(A)
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