(data)
return reduce(lambda x, y: x + y, data)
Flatten a list of data.

        Arguments:
            data (list) : List of list of words.

        Returns:
            list : A single flattened list of all words.
Flatten a list of data.
Flatten a list of data .
def flatten(data):
        """
        Flatten a list of data.

        Arguments:
            data (list) : List of list of words.

        Returns:
            list : A single flattened list of all words.
        """
        return reduce(lambda x, y: x + y, data)
def flatten ( data ) : return reduce ( lambda x , y : x + y , data )