Remove duplicates in a string
Write a function remove_duplicates that takes a string and returns a new string with duplicate characters removed, keeping the first occurrence of each character.
Premium
Python
Setting up Python environment...
Output