Exercise find duplicate

Run Settings
LanguagePython
Language Version
Run Command
a=["a","b","c","a","d","c",] s=[] for item in a: if a.count(item)==2: if item not in s: s.append(item) print(s)
Editor Settings
Theme
Key bindings
Full width
Lines