Oct-07-2019, 08:44 AM
Horrible thread name, but let me try and explain it.
I put lists (with 2 (always) values) in a main-list and I want to cleanup the duplicates in that main-list. The order of the 2 values don't matter to me and are therefor the same.
I put lists (with 2 (always) values) in a main-list and I want to cleanup the duplicates in that main-list. The order of the 2 values don't matter to me and are therefor the same.
1 2 3 4 5 6 7 |
mainlist = [] listA = [ "a" , "b" ] listB = [ "b" , "a" ] listC = [ 1 , 2 ] mainlist = [ listA, listB ] unique - mainlist = [ [ "a" , "b" ], [ 1 , 2 ] ] |