Commit 24e61ea6 by BellCodeEditor

save project

parent 7eaed43a
Showing with 16 additions and 0 deletions
def ikun():
new_input=[]
while True:
sb=input('请输入')
if sb=='q':
break
else:
try:
sb=int(sb)
except:
print('你个小垃圾!!!!!')
else:
new_input.append(sb)
print(new_input)
ikun()
\ 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