結果 : check consecutive elements in list python