1a_string = "abcde"
2
3n = 2
4split_strings = [a_string[index : index + n] for index in range(0, len(a_string), n)]
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