結果 : check repeated characters string python