title: How to use list comprehension in python?
body: <p>How do I use list comprehension for doing this:   </p>
  
  <pre><code>MCs= [['foo', 180.9], ['bar', 163.5], ['noo', 140.3]] 
  </code></pre>
  
  <p>Want </p>
  
  <pre><code>[['foo'], ['bar'], ['noo']] 
  </code></pre>
  
  <p>using </p>
  
  <p><code>MCs =  [list(x[0]) for x in MCs</code>]</p>
  
  <p>I get this:</p>
  
  <pre><code>  [['f', 'o', 'o'], ['b', 'a', 'r'], ['n', 'o', 'o']] 
  </code></pre>