myList = []
while True:
word = input("Enter a Word (Type 'q' to quit): ")
if word == 'q':
break
myList.append(word)
print(myList)
RESULT
Enter a Word (Type 'q' to quit): cat
Enter a Word (Type 'q' to quit): dog
Enter a Word (Type 'q' to quit): rat
Enter a Word (Type 'q' to quit): q
['cat', 'dog', 'rat']
solved How to append multiple input in list with input() function in python?