結果 : compare elements of list python