結果 : get index if exists python