My code worked find, but I’m unsure if I should have gone about indexing in a different method.
Below is a function for writing all odd index items in a new list
#Codecademy solution def odd_indices(lst): new_lst =  for index in range(1, len(lst), 2): new_lst.append(lst[index]) return new_lst
#My solution def odd_indices(lst): new_lst =  for index in lst[1:len(lst):2]: new_lst.append(index) return (new_lst)
You can see I’ve gone about indexing differently. Is this an ok way to do it, or could it have problems?