vnice solution in Clear category for Non-unique Elements by magda_kudrycka
for i in data:
if(data.count(i) != 1):
#You can use list.count(element) method for counting.
#Create new list with non-unique elements
#Loop over original list
Oct. 21, 2016