Write a python function, remove_duplicates() which accepts a string and removes all duplicate characters from the given string and return it code example
Example: Python program to remove duplicate characters of a given string.
>>> foo = 'mppmt'
>>> ''.join(sorted(set(foo), key=foo.index))
'mpt'