Code Challenge - Appending index

I know this is incorrect code for the exercise, but how is it giving me the output [1, 3, 5]?

#Write your function here
def odd_indices(lst):
  new_lst = []
  for i in range(1,len(lst),2):
  return new_lst

#Uncomment the line below when your function is done
print(odd_indices([4, 3, 7, 10, 11, -2]))

It is giving the value of the iterator variable. That is meant to be an index, or subscript of lst