結果 : check for index in list python