若忘记密码或需要其它帮助,请联系镜像管理员。
01_search="([^"]+)" postSkip=^[ -~]
def reduce_chars(s): new_val, count = s[0], 1 for i in range(1, len(s)): if s[i] == s[i-1]: count += 1 else: count = 1 if count <= 2: new_val += s[i] return new_val