結果 : check next element in list python