結果 : python compare consecutive elements in list