Print duplicates letter in list

Run Settings
LanguagePython
Language Version
Run Command
some_list=['a','b','c','b','d','m','n','n'] empty_list=[] for value in some_list: if some_list.count(value)>1: if value not in empty_list: empty_list.append(value) print(empty_list)
Editor Settings
Theme
Key bindings
Full width
Lines