Commit 688844d0 by BellCodeEditor

save project

parent 687da473
Showing with 6 additions and 2 deletions
t=[]
def a(): def a():
t=[]
while True: while True:
u=input("输入") u=input("输入")
if u=='q': if u=='q':
...@@ -10,4 +11,7 @@ def a(): ...@@ -10,4 +11,7 @@ def a():
print('输入数字') print('输入数字')
else: else:
t.append(u) t.append(u)
a() return t
b=a()
print(b[1])
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