最佳答案
I have a list with ~10^6 tuples in it like this:
[(101, 153), (255, 827), (361, 961), ...]
^ ^
X Y
I want to find the maximum value of the Y
s in this list, but also want to know the X
that it is bound to.
How do I do this?