結果 : how to check next element in list python