i tried doing this following thing:
def odd_indices(lst):
odd_lst = [ ]
for num in range(len(lst) -1):
if num % 2 != 0:
odd_lst.append(lst[num])
return odd_lst
why does it return instead of making a list with all the items with odd indexes?