title: why am i getting this?? <generator object <genexpr> at 0x000001C468108DC8>
body: <p>i was trying to convert some part of my code into a one-liner but I am getting something unexpected</p>
  <pre><code>print(x for x in [2,3,4,5] if x%2==0)
  </code></pre>
  <p>can anyone tell why am I getting this - <code>&lt;generator object &lt;genexpr&gt; at 0x000001C468108DC8&gt;</code> instead of 2 and 4??</p>