# Python3 program to Split string into characters def split(word): return [char for char in word] # Driver code word = 'geeks' print(split(word))
# Python3 - separate each character of non-spaced string def split(string): return [letter for letter in string] # Driver code string = 'split this string' print(split(string))