Commit 4b604b70 by BellCodeEditor

save project

parent b566f330
Showing with 3 additions and 1 deletions
...@@ -2,8 +2,10 @@ a = [] ...@@ -2,8 +2,10 @@ a = []
while True: while True:
b = input("請輸入:") b = input("請輸入:")
a.append(b) a.append(b)
if a == "q": if b == "q":
break break
else:
list.append(b)
print(a) print(a)
......
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