Commit 14a21cd0 by BellCodeEditor

save project

parent 30d04029
Showing with 6 additions and 3 deletions
a=[] def new_input():
while True: a=[]
while True:
b=input('请输入') b=input('请输入')
if b == 'q': if b == 'q':
break break
...@@ -11,7 +12,9 @@ while True: ...@@ -11,7 +12,9 @@ while True:
else: else:
a.append(b) a.append(b)
print("-"*30) print("-"*30)
print(a) return a
c=new_input()
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