Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Straightforward solution in Clear category for Non-unique Elements by ilmaestro
def checkio(data):
return [x for x in data if data.count(x) > 1]
Sept. 30, 2014