title: Making a 0 to n vector in python
body: <p>I am a new python user and I was wondering how I could make a 0 to n vector.
  I would like the user to be able to input an integer for n, and receive an output of [0,1,2,3,4,5...,n].</p>
  
  <p>This is what I have done so far...</p>
  
  <pre><code>from numpy import matrix
  
  n=int(raw_input("n= "))
  for i in range(n, 0, -1):
  K = matrix(i)
  print K
  </code></pre>
  
  <p>But this is what I get as an output:</p>
  
  <pre><code>[0][1][2][3][4][5]...[n]
  </code></pre>
  
  <p>Transposing the matrix doesn't help. 
  What am I doing wrong?</p>
  
  <p>Thank you for your help!</p>