def removeValueFromList(values: list, the_list: list):
    """Loops through the values list and removes it from the_list"""

    list_ = the_list
    for value in values:
        try:
            list_.remove(value)
        except ValueError:
            pass

    return list_