1l = list('abcd') # ['a', 'b', 'c', 'd']
2l = map(None, 'abcd') # ['a', 'b', 'c', 'd']
3l = [i for i in 'abcd'] # ['a', 'b', 'c', 'd']
4
5import re # importing regular expression module
6l = re.findall('.', 'abcd')
7print(l) # ['a', 'b', 'c', 'd']
1# Python3 program to Split string into characters
2def split(word):
3 return list(word)
4
5# Driver code
6word = 'geeks'
7print(split(word))
8
9#Output
10['g', 'e', 'e', 'k', 's']