def flatten_list(ls: list) -> list:

    """Flattens list with sublists.

    Arguments:
        ls {list} -- List to flatten
    Returns:
        flattened {list} -- Flattened list"""

    flattened = [item for sublist in ls for item in sublist]
    return flattened