Finding the index of an item in a list
Given a list ["foo", "bar", "baz"] and an item in the list "bar", how do I get its index (1) in Python?
Given a list ["foo", "bar", "baz"] and an item in the list "bar", how do I get its index (1) in Python?