1
Last seen 6 years ago
Member for 7 years, 20 days
Difficulty Normal
Created a forum post "Where to put answer?"
list =[6,5,2,8,6,2]
print([x for x in list if list.count(x) > 1])
This would work.
Mike