My problem is very similar to the one linked below except that if there was a [2,1] element I would need that to be deleted too.
Removing duplicates from a list of lists
I’ve tried all sorts of things but just can’t make it work. Any help would be much appreciated!
Thanks.
Maybe what you really want is a
setofsetsEdit: well, but that doesn’t work. alas, sets cannot contain sets because sets are unhashable.
frozensetis, though: