To split a String to List in Python, simply use the split() function.

Sample Python

splittedWords = text.split()

3 thought on “How to split a string to list in Python”

Leave a Reply