結果 : check index exists in list python