The easiest way to find out if a list is unique (does not contain duplicates) is to convert it into a set and check the size. However this does not work for a list of lists! Apparently set elements must be hashable... Seems a pity. Are there any plans to remove this constraint? A set of lists must surely have its uses. In the meantime, how could one circumvent this?
Sets cannot contain lists, how to circumvent?
Users browsing this thread: 1 Guest(s)
