list remove multiple python code example
Example: python remove multipl eelements from list
unwanted = {'item', 5}
item_list = [e for e in item_list if e not in unwanted]
unwanted = {'item', 5}
item_list = [e for e in item_list if e not in unwanted]