separate words in a text to make a list python

Solutions on MaxInterview for separate words in a text to make a list python by the best coders in the world

showing results for - "separate words in a text to make a list python"
Emma
14 Jul 2020
1your_text = "some text"
2separated_text = your_text.split(" ") #the space is just an exemple but you can put anything
3print(separated_text)
4
5output:
6['some', 'text']