結果 : compare elements of a list python