結果 : python compare elements in a list