Commit 03021d70 by BellCodeEditor

save project

parent 8c320a53
Showing with 10 additions and 7 deletions
lis1 = []
list = []
while True: while True:
a=input("请输入") try:
list.append(a) a = int(input("请输入:"))
if a =='q': except:
break print('请输入数字')
print(list) else
\ No newline at end of file list.append(a)
print(list))
\ 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