def flatten(list_of_lists:list[list])-> list:
    """flatten list of lists

    Args:
        list_of_lists (list[list]): list of lists

    Returns:
        list: list
    """    
    return [item for sublist in list_of_lists for item in sublist]