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 Piotr.Helminiak
def checkio(data):
result = []
dl=len(data)
for i in range(dl):
if data.count(data[i])>1:
result.append(data[i])
return result
Oct. 21, 2016