I want to remove all occurrences of a list from list of lists. By that I mean I want to filter out all the occurrences of a given list. E.g.
list = [[1,2,3], [3,2,1] ,[4,2,5],[1,2,3]]
list.removeList([1,2,3])
list=[[3,2,1],[4,2,5]]
I was thinking of using a filter or .remove() but it is giving me error. And for the filter I don't know what approach I should start with