You can use the below python script to find where there are duplicates in a character set.
First open a Python IDLE shell window and enter this code:
>>> def find_duplicates(s):
elements = {}
for char in s:
if elements.get(char,None) != None:
elements[char]+=1
else:
elements[char] = 1
return [k for k,v in elements.items() if v>1]
Then enter the set of characters you want to search using the print command and the command created by this code
>>> print(find_duplicates("ATRZSWAPOS"))
After this is saved, Python will give you the result shown below.
![](https://static.wixstatic.com/media/af7fa4_65f5882472914fa2ac4eb02e7b4ffd1b~mv2.png/v1/fill/w_84,h_49,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/af7fa4_65f5882472914fa2ac4eb02e7b4ffd1b~mv2.png)