結果 : if list index exists python