Commit 052fd714 by BellCodeEditor

auto save

parent b0c5a33e
Showing with 18 additions and 9 deletions
张荷婧=[] def zhj():
while True: 张荷婧=[]
i=input('请输入:') while True:
if i=='q': i=input('请输入:')
break if i=='q':
else: break
张荷婧.append(i) else:
print(张荷婧) try:
\ No newline at end of file i=int(i)
except:
print('要输入数字哦')
else:
张荷婧.append(i)
#print(张荷婧)
return 张荷婧
zhj=zhj()
print(zhj)
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