Given a list
["foo", "bar", "baz"] and an item in the list
"bar", how do I get its index (
1) in Python?
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.