結果 : if index is odd python