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