title: List Comprehension: why is this a syntax error?
body: <p>Why is <code>print(x)</code> here not valid (<code>SyntaxError</code>) in the following list-comprehension?</p>
  
  <pre><code>my_list=[1,2,3]
  [print(my_item) for my_item in my_list]
  </code></pre>
  
  <p>To contrast - the following doesn't give a syntax error:</p>
  
  <pre><code>def my_func(x):
      print(x)
  [my_func(my_item) for my_item in my_list]
  </code></pre>