butterfly_life_cycle = ["egg", "larva", "pupa", "butterfly"]
print(butterfly_life_cycle.index("egg"))
print(butterfly_life_cycle.index("larva"))
print(butterfly_life_cycle.index("pupa"))
print(butterfly_life_cycle.index("butterfly"))
# output:
# 0
# 1
# 2
# 3