2 Respostas
+ 4
Just use:
my_list = list('abcde')
+ 1
split() is for splitting strings with a character between each one. If you need to split a string into its individual characters, use list() instead.
Example when typed into live session:
>>> list("abcde")
['a', 'b', 'c', 'd', 'e']