how to add a word to a list python 3 code example
Example 1: how to add words to a list in python
list = []
list.append("hello")
Example 2: how to put words into list
sentence = input("Line: ")
split_sentence = sentence.split()
print(split_sentence)