Answers for "add words in list python"

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 "add words in list python"

Python Answers by Framework

Browse Popular Code Answers by Language