結果 : comparing two elements in a list python