結果 : removing duplicate characters from a string in python