Commit dddee303 by BellCodeEditor

save project

parent 804c9c58
Showing with 10 additions and 2 deletions
def m():
while True:
to=[]
u=input('请输入:')
if u=='q':
break
else:
try:
u=int(u)
except :
print('重新输入一个整数')
else:
to.append(u)
print(to)
\ No newline at end of file
return 0
ad=m()
print()
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