1def split(word):
2 return [char for char in word]
3
4# Driver code
5word = 'geeks'
6print(split(word))
7
8#Output ['g', 'e', 'e', 'k', 's']
1
2# Python3 program to Split string into characters
3def split(word):
4 return [char for char in word]
5
6# Driver code
7word = 'geeks'
8print(split(word))
9