Answers for "how to add a word to a list python 3"

1

how to add words to a list in python

list = []
list.append("hello")
Posted by: Guest on June-30-2020
0

how to put words into list

sentence = input("Line: ")
split_sentence = sentence.split()
print(split_sentence)
Posted by: Guest on July-07-2020

Code answers related to "how to add a word to a list python 3"

Python Answers by Framework

Browse Popular Code Answers by Language