py split string in list code example Example: python split list string = 'this is a python string' wordList = string.split(' ')