>>> a= ('one', 'a')
>>> b = ('two', 'b')
>>> c = ('three', 'a')
>>> l = [a, b, c]
>>> l
[('one', 'a'), ('two', 'b'), ('three', 'a')]
How can I check for only the elements of this list with a unique second entry (column? item?), and then grab the first entry found on the list. Desired output is
>>> l
[('one', 'a'), ('two', 'b')]