title: Why this line does not printing 123...n in python?
body: <p>Recently I have started learning python programming language and I got stuck while printing 123..n sequence using this:</p>
  
  <pre><code>n=10
  print(i for i in range(1,n+1))
  </code></pre>
  
  <p>I got this output:</p>
  
  <pre><code>&lt;generator object &lt;genexpr&gt; at 0x7f5990f20db0&gt;                                   
  </code></pre>
  
  <p>Expecting Output:<br>
       1234....n<br>
       (Note: Only continuous output)   </p>