Commit 6ed4a8f8 by BellCodeEditor

save project

parent 5ee65444
Showing with 18 additions and 14 deletions
a = []
while True:
b = input('输入:')
if b== 'q':
break
else:
try:
def abc():
a = []
while True:
b = input('输入:')
if b== 'q':
break
else:
try:
int(b)
except:
print("输入整数!")
print('——'*30)
int(b)
except:
print("输入整数!")
print('——'*30)
int(b)
a.append(b)
print(a)
\ No newline at end of file
a.append(b)
return a
abc()
q = return
print(q)
\ 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