Get index of array starting from last element
<p>How is that i get the reverse iteration using the following code. Should I be using the reduce function or something?</p>

<p>Example:</p>

<pre><code>for i in range(4):
    print i ////0 1 2 3
</code></pre>

<p>how do i print the same in the reverse order</p>

<pre><code>3 2 1 0

a=[5,2,1,4,3]
</code></pre>

<p>I also want to print the above array in reverse using the index and not <code>a[::-1]</code>
i.e,i want to first print </p>

<pre><code> a[4] //get index starting from last how to achieve this
 a[3]
 a[2]
 a[1]
 a[0]
</code></pre>
