title: How to generate a list of number, in a range?
body: <p>I do not understand how to generate a list of number, in a range?
  So far I have:</p>
  
  <pre><code>    numberslist1=sum([range(1, 1000)])
      for x in range(len(numberslist1)):
          print(numberslist1[x])
  </code></pre>
  
  <p>Why does this not work?</p>