title: Array IndexError
body: <p>I want to reverse an array 'ar' by using another array 'br' but it gives an IndexError! I don't know why can you help please !</p>
  <pre><code># Reversing array
  from array import*
  
  ar = array('i', [1, 2, 3, 4, 5])
  br = array('i',[])
  
  d = len(ar)-1
  print(d)
  for i in ar:
      br[d] = i
      d = d-1
  print(br)
  </code></pre>