Python Return Index Of Item In Array Literal Analogy