Answers for "how to make string array into array of chars in python"

3

python string to char array

>>> s = "foobar"
>>> list(s)
['f', 'o', 'o', 'b', 'a', 'r']
Posted by: Guest on May-14-2020

Code answers related to "how to make string array into array of chars in python"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language