title: Python - getting list of numbers N to 0
body: <p>What's the best way to get a list <code>[N, N-1, ..., 0]</code> in python? I have 2 ways in mind</p>
  
  <pre><code>&gt;&gt;&gt; range(10)[::-1]
  [9, 8, 7, 6, 5, 4, 3, 2, 1, 0]
  
  &gt;&gt;&gt; range(9, -1, -1)
  [9, 8, 7, 6, 5, 4, 3, 2, 1, 0]
  </code></pre>