Answers for "python how to turn a word into a list"

0

python how to turn a word into a list

wordString = "foobar"
list(wordString)
>>> ['f', 'o', 'o', 'b', 'a', 'r']
Posted by: Guest on June-08-2020

Code answers related to "python how to turn a word into a list"

Python Answers by Framework

Browse Popular Code Answers by Language