Commit 87638719 by BellCodeEditor

save project

parent 0b5df407
Showing with 8 additions and 4 deletions
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
def new_input():
A=[] A=[]
while True: while True:
a=input("b") a=input("b")
if a=="b": if a=="b":
break break
...@@ -16,4 +16,8 @@ while True: ...@@ -16,4 +16,8 @@ while True:
print("请输入整数") print("请输入整数")
else: else:
A.append(a) A.append(a)
print(A) return A
b=new_input()
print(b)
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