title: Python: Nested Loop
body: <p>Consider this:</p>
  
  <pre><code>&gt;&gt;&gt; a = [("one","two"), ("bad","good")]
  
  &gt;&gt;&gt; for i in a:
  ...     for x in i:
  ...         print x
  ... 
  one
  two
  bad
  good
  </code></pre>
  
  <p>How can I write this code, but using a syntax like:</p>
  
  <pre><code>for i in a:
      print [x for x in i]
  </code></pre>
  
  <p>Obviously, This does not work, it prints:</p>
  
  <pre><code>['one', 'two']
  ['bad', 'good']
  </code></pre>
  
  <p>I want the same output. Can it be done?</p>