def split(word): return [char for char in word] # Driver code word = 'geeks' print(split(word)) #Output ['g', 'e', 'e', 'k', 's']