Commit f6da117d by BellCodeEditor

save project

parent 6332f6e2
Showing with 24 additions and 7 deletions
t=[] def q():
while True:
a=input("ni hao")
if a=="q":
break
else:
t.append(a)
t=[]
while True:
a=input("qing shu ru")
if a=="q":
break
else:
try:
a=int(a)
except:
print("bu ke yi")
else:
print("hao de")
t.append(a)
print(t)
q()
\ 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