python split string into list of words code example
Example: separate words in a text to make a list python
your_text = "some text"
separated_text = your_text.split(" ") #the space is just an exemple but you can put anything
print(separated_text)
output:
['some', 'text']