Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Non-unique Elements by Luker
def checkio(data):
result=list()
for x in data:
if data.count(x)>1:
result.append(x)
return result
#Some hints
#You can use list.count(element) method for counting.
#Create new list with non-unique elements
#Loop over original list
Oct. 15, 2016