split characters to list python

49

>>> s = "foobar"
>>> list(s)
['f', 'o', 'o', 'b', 'a', 'r']

Comments

Submit
0 Comments