Category : duplicates

Support we have a list of tuples listeT: ListeT=[(‘a’, 1), (‘x’,1) , (‘b’, 1), (‘b’, 1), (‘a’, 2), (‘a’,3), (‘c’, 6), (‘c’, 5),(‘e’, 6), (‘d’, 7),(‘b’, 2)] and i want to get the following result: Result= [(‘a’, 1), (‘x’,1) , (‘b’, 1), (‘c’, 5), (‘c’, 6), (‘e’, 6), (‘d’, 7)] 1-I want to order this ..

Read more