title: Iteration through an array reads n-1 elements from array
body: <p>I am trying to read an array starting from the 5th element and store the subsequent elements. My array has length 100, so when i start from 5 in my loop it outputs 99. I tried printing the results before and after the loop, before the loop the output is 100 and after the loop the output is 99.</p>
  <pre><code>randnums = np.random.randint(1,150, 100) # generating an array
  print(len(randnums)) # checking the length before the loop
  for i in range(5, randnums.size): # iteration
      test = randnums[:i] # storing the values
  
  print((test.size)) # checking the output: will give 99
  </code></pre>
  <p>Why cannot i store the 100th element?</p>