結果 : check for duplicates in set python