I am trying to remove the duplicates in the following list. itertools
did not work here 'cause the internal lists are set instead of integers.
[[{1, 2, 3, 8, 9, 10}, {4, 5, 7}, {5, 6, 7}],
[{1, 2, 3, 4, 5}, {6, 7, 8, 9, 10}],
[{4, 5, 7}, {1, 2, 3, 8, 9, 10}, {5, 6, 7}],
[{5, 6, 7}, {1, 2, 3, 8, 9, 10}, {1, 2, 3, 4, 5}],
[{6, 7, 8, 9, 10}, {1, 2, 3, 4, 5}]]
my expected output is
[[{1, 2, 3, 8, 9, 10}, {4, 5, 7}, {5, 6, 7}],
[{1, 2, 3, 4, 5}, {6, 7, 8, 9, 10}],
[{5, 6, 7}, {1, 2, 3, 8, 9, 10}, {1, 2, 3, 4, 5}]]
anyone knows any methods to solve the problem?