title: Python: for loop inside print()
body: <p>I have a question about Python (3.3.2).</p>
  
  <p>I have a list:</p>
  
  <pre><code>L = [['some'], ['lists'], ['here']] 
  </code></pre>
  
  <p>I want to print these nested lists (each one on a new line) using the <code>print()</code> function:</p>
  
  <pre><code>print('The lists are:', for list in L: print(list, '\n'))
  </code></pre>
  
  <p>I know this is incorrect but I hope you get the idea. Could you please tell me if this is possible? If yes, how?</p>
  
  <p>I know that I could do this:</p>
  
  <pre><code>for list in L:
      print(list)
  </code></pre>
  
  <p>However, I'd like to know if there are other options as well.</p>