Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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']
 
PREVIOUS NEXT
Tagged: #separate #words #text #list #python
ADD COMMENT
Topic
Name
2+4 =