結果 : how to print duplicate characters from string in python