Commit b25a3e99 by BellCodeEditor

save project

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