for example,
a = [[1, 2], [2, 3], [1, 2]]
I need it to be
a = [[1, 2], [2, 3]]
since [1, 2] is duplicated.
set cannot be used because it did not accept a mutable object. and I know changing list to a tuple works. But is there a clean way if I want to keep them as lists? (not using numpy array)