I want to extract from a list of tuples (int, string)
the string
value of the tuple with minimum int
.
For example, if I have this list:
l = [('a', 5), ('b', 3), ('c', 1), ('d', 6)]
The output should be 'c', because the minimum integer is in the tuple ('c', 1)
.
I've tried different things, none worked so far. Thanks.