Human: Get index of the top n values of a list in python Assistant: 
Here is some code to get index of the biggest 2 values of a list `a`

sorted(list(range(len(a))), key=lambda i: a[i])[-2:]

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