結果 : check list index exists python