I have a list of sets:
list = [{1,2}, {2,3}, {1,3}, {2,1} etc]
I need a list where every element appears once. creating a set of the list fails with a set is not hashable error If I create another list, and add every element once with if not in list then append list works, but now I have to deal with a list with aroun 600 000 value pairs, and it takes forever. Is there a more efficent way?