結果 : first repeated character in a string python