human
how to get the index of dictionary with the highest value in a list of dictionary
assistant
Here is some code to get an item from a list of dictionary `lst` which has maximum value in the key `score` using lambda function

max(lst, key=lambda x: x['score'])

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