Get index of the top n values of a list in python
<p>I have a list say <code>a = [5,3,1,4,10]</code>. I need to get a index of top two values of the list viz 5 and 10. Is there a one-liner that python offers for such a case?</p>
