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