Find String Index In List Python Definition