title: Un-usual behaviour of list comprehension in python
body: <p>I'm trying to understand List-comprehensions in python , I came across this behaviour of list comprehension. when I do:
   <code>[print(y) for y in range(0,10)]</code> it gives response </p>
  
  <pre><code>0
  1
  2
  3
  4
  5
  6
  7
  8
  9
  [None, None, None, None, None, None, None, None, None, None]
  </code></pre>
  
  <p>I understand it prints 0 to 9, but I don't understand why it prints <code>None</code> .But when I do <code>o = [print(y) for y in range(0,10)]</code> it prints </p>
  
  <p><code>0
  1
  2
  3
  4
  5
  6
  7
  8
  9</code></p>
  
  <p>This time without any <code>none</code>,I couldn't find any relevant stuff by searching, can someone please explain , Thanks</p>