結果 : how to remove adjacent duplicates in a string python