def flatten(list_of_lists):
    """Flatten a given list of lists

    Args:
        list_of_lists (list): Given list of lists

    Returns:
        list: Flattened list
    """
    return [x for each_list in list_of_lists for x in each_list]