human
delete items from list of list: pythonic way
assistant
Here is some code to delete items from list `my_list` if the item exist in list `to_dell`

my_list = [[x for x in sublist if x not in to_del] for sublist in my_list]

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.