putting each letter in a string to a list python code example
Example: python how to turn a word into a list
wordString = "foobar"
list(wordString)
>>> ['f', 'o', 'o', 'b', 'a', 'r']
wordString = "foobar"
list(wordString)
>>> ['f', 'o', 'o', 'b', 'a', 'r']