I, to my knowledge, am doing everything correctly, but it keeps on saying "Oops, try again. Did you forget to assign a value to duck_index?" I don't know how to solve this error message and it is beginning to drive me crazy.
Any help is appreciated.
animals = ["aardvark", "badger", "duck", "emu", "fennec fox"] duck_index = # Use index() to find "duck" # Your code here! duck_index = animals.index("duck") print(duck_index) animals.insert(duck_index, "cobra") print animals # Observe what prints after the insert operation