title: How to nested list comprehension in Python
body: <p>I'm trying to create a new list from 2 lists using list comprehension</p>
  
  <pre><code>&gt;&gt;&gt; l = ['%sdummy1', '%sdummy2']
  &gt;&gt;&gt; z = ['new1', 'new2']
  </code></pre>
  
  <p>With basic list comprehension knowledge I can get the list below</p>
  
  <pre><code>&gt;&gt;&gt; x = [item % 'new1' for item in l]
  ['new1dummy1', 'new1dummy2']
  &gt;&gt;&gt;
  </code></pre>
  
  <p>but how can I iterate over the "z" and get the list below?</p>
  
  <pre><code>['new1dummy1', 'new1dummy2', 'new2dummy1', 'new2dummy2']
  </code></pre>