title: How to sort through list of a list and remove a list if less not least value
body: <p>Currently, this takes the list of the candidates and sorts it so that the candidates with the lowest score are in the first positions, how would I get it so that it checks each list and if the number in the second field is not equal to the first one it deletes this list? 
  I am trying to remove all lists that are not the lowest or equal lowest number in candidate [x][1]:</p>
  
  <pre><code>candidates = [[name, 3, characteristic], [name, 7, characteristic], [name, 3, characteristic]]
  </code></pre>
  
  <p>so the following code should only delete candidates [1]</p>
  
  <pre><code>from operator import itemgetter
  
  candidates.sort(key=itemgetter(1))
  
  for [x][1] in candidates:
      if candidates[x][1] != candidates[0][1] :
          candidates.remove(candidates[x])
  </code></pre>
  
  <p>Thanks!</p>