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']

Here is what the above code is Doing:
1. We create a variable called your_text and assign it the string “some text”.
2. We create a variable called separated_text and assign it the result of calling your_text.split(” “).
3. We print the value of separated_text.

The output of the code is:

[‘some’, ‘text’]