after i input my code i always has this problem and i cannot fix it. here is the error message :Oops, try again. Make sure to pass duck_index as the first argument in insert().
here is Instructions
Use the .index(item) function to find the index of "duck". Assign that result to a variable called duck_index.
Then .insert(index, item) the string "cobra" at that index.
animals = ["aardvark", "badger", "duck", "emu", "fennec fox"] # Your code here! duck_index = animals.index("duck") # Use index() to find "duck" print duck_index animals.insert(2, "cobra") print animals # Observe what prints after the insert operation