def flatten_list(list_of_lists):
    """Returned a flattened version of a list of lists"""
    flat_list = [
        val
        for sublist in list_of_lists
        for val in sublist
    ]

    return flat_list