結果 : repeated characters in a string python