Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
two good solutions solution in Clear category for Non-unique Elements by KristinaGovorukha
def checkio(data: list) -> list:
#data = [i for i in data if data.count(i) > 1]
data = list(filter(lambda x: data.count(x) > 1, data))
return data
Sept. 22, 2018