Write a python function to convert a list of strings to equivalent character array using itertools


Topic: Write a python function to convert a list of strings to equivalent character array using itertools

Solution

import itertools
def extract_characters(input_list):
    return [ char_val for char_val in itertools.chain.from_iterable(input_list) ]



List all Python Programs