結果 : find repeating substrings in a string python