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):
new_lst.append(i)
return new_lst
#Uncomment the line below when your function is done
print(odd_indices([4, 3, 7, 10, 11, -2]))
```