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 suiluj_julius
# migrated from python 2.7
def checkio(data):
output = []
for i in range(len(data)):
if data.count(data[i])>1:
output.append(data[i])
return output
Jan. 4, 2016