#sample solution
animals = ["aardvark", "badger", "duck", "emu", "fennec fox"]
duck_index = animals.index("duck") # `index()` to find "duck"
# Your code here
animals.insert(duck_index,"cobra")
print animals # Observe what prints after the insert operation
No comments:
Post a Comment