python: find the index of a given value in a list

["foo", "bar", "baz"].index("bar")