python: print i for i in list
<p>When I printed a list, I got a syntax error when using this method:</p>

<pre><code>print i for i in [1,2,3]
</code></pre>

<p>I knew this is ok when using this method:</p>

<pre><code>for i in [1, 2, 3]:
    print i
</code></pre>

<p>and I knew that </p>

<pre><code>(i for i in [1, 2, 3])
</code></pre>

<p>is a generator object, but I just don't get it that why</p>

<pre><code>print i for i in [1, 2, 3] 
</code></pre>

<p>does't work. Can anyone give me a clue?</p>
