Commit d4a4fc08 by BellCodeEditor

save project

parent 6d577d26
Showing with 11 additions and 4 deletions
a=[] def new_input():
while True: a=[]
while True:
a=input("ni hao") a=input("ni hao")
if a=="q": if a=="q":
break break
else: else:
try:
a=int(a)
except:
print("请")
else:
t.append(a) t.append(a)
print(a) print(a)
\ No newline at end of file new_input()
\ 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