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 T.A.
def checkio(data):
s = set(data)
for i in s:
if data.count(i)<2:
data.remove(i)
return data
July 24, 2014