I want to remove the duplicate elements in a list only when one element is repeated many times, like this:
li = ['Human','Human','Human'] => li = ['Human']
but not when there are two or more different elements:
li = ['Human','Monkey','Human', 'Human']
Many thanks in advance.