Python list duplicates. Duplicated python. list.remove. 1047. remove all adjacent duplicates in string.