Commit b25a3e99 by BellCodeEditor

save project

parent a46f7285
Showing with 8 additions and 19 deletions
def a():
aaaa=[]
while True:
b=input('输入数字')
print(b)
if b == 'q':
total=[]
while True:
a=input("输入")
print(a)
if a=="q":
break
else:
try:
z=int(b)
except:
finally:
aaaa.append(b)
print(aaaa)
return aaaa
c=a()
print(c)
total.append(a)
print(total)
\ 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