結果 : check for repeated elements in list python