def flatten(list_of_lists: list) -> list:
    """Given a list of lists, flatten all the items into one list.
    >>> flatten([ [1, 2, 3], [4, 5, 6]])
    [1, 2, 3, 4, 5, 6]
    """
    return [val for sublist in list_of_lists for val in sublist]