Commit 5ee65444 by BellCodeEditor

save project

parent d90bb74a
Showing with 8 additions and 2 deletions
a = []
while True:
b = input('输入:')
if b=='q':
if b== 'q':
break
else:
try:
int(b)
except:
print("输入整数!")
print('——'*30)
int(b)
a.append(b)
print(a)
\ 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