finding the index of an item given a list containing it in python,"['foo', 'bar', 'baz'].index('bar')"