結果 : check if index in list python