human
Find the maximum value in a list of tuples in Python
assistant
Here is some code to get the item at index 0 from the tuple that has maximum value at index 1 in list `lis`

max(lis, key=itemgetter(1))[0]

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.