title: How to find the positions of the N biggest values of a list in python?
body: <p>I am trying to find the N biggest values from a list, and then print out their positions in the list.</p>
  <p>If I would only focus on the max. value, it would look like this:</p>
  <pre><code>&gt;&gt;&gt;&gt;fr = [8,4,1,1,12]
  &gt;&gt;&gt;&gt;print fr.index(max(fr))
  4
  </code></pre>
  <p>However, my aim is to get an output like: <code>4,0,1</code> if it were for n=3. The <code>0</code> here shows the position of the second biggest value. REMEMBER, I am not interested in the value, but in their position!</p>