List of Lists [['b'],['d'],['e'], ['b','d','e'],['b','e'],['e','f'],['b','d']]
List of tuples [('b',),('d',),('e'),('b','d','e'),('b','e'),('e','f'),('b','d')]
I would like to remove any lists or tuples that contains both the characters 'b' and 'd'. So the output should look like below.
remove lists = [['b','d']] remove tuples = [('b','d')]
Modified List of Lists [['b'],['d'],['e'], ['b','e'],['e','f']]
Modified List of tuples [('b',),('d',),('e'),('b','e'),('e','f')]
Preferrably i would like to do this for more than one combination of lists/tuples say remove lists = [[e,f],[b,d]] to remove any lists that contain characters e and f as well as b and d.
I highly appreciate any help that can be provided.