Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python how to turn a word into a list

wordString = "foobar"
list(wordString)
>>> ['f', 'o', 'o', 'b', 'a', 'r']
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #turn #word #list
ADD COMMENT
Topic
Name
9+7 =