結果 : how to remove duplicate characters in a string in python