title: how to reverse slice python list
body: <p>Would appreciate some help, how do you slice a python list like example below:</p>
  <p>a = [1,2,3,4,5,6,7,8]</p>
  <p>I want the slice in a loop so output would be:</p>
  <p>8,7,6,5,4,3,2,1 <br>
  8,7,6,5,4,3,2 <br>
  8,7,6,5,4,3 <br>
  8,7,6,5,4 <br>
  8,7,6,5 <br>
  8,7,6 <br>
  8,7 <br>
  8 <br></p>
  <p>should be in function like :</p>
  <pre><code>    for i in range(len(a)):
          print(a[&quot;slice here&quot;])
  </code></pre>
  <p>i've tried [-1::-1-i] not sure anymore? thought this would be straightforward ?</p>