Hi,

I have been going through the loop challenges and I need some clarification on how the range function is used in the answer. I don’t understand why we have 1 and 2 at the beginning and end. And what this bit of code actually means.

#Write your function here

def odd_indices(lst):

new_list =

for index in range(1, len(lst), 2):

```
new_list.append(lst[index])
```

return new_list

#Uncomment the line below when your function is done

print(odd_indices([4, 3, 7, 10, 11, -2]))