python words in string to list code example
Example: python convert a string to a list of words
>>> "Please split this string".split()
['Please', 'split', 'this', 'string']
>>> "Please split this string".split()
['Please', 'split', 'this', 'string']