class Solution: def compressString(self,param): if len(param)==0:return "" if len(param)==1:return param res,temp,left="",[],0 for right in range(len(param)): print("right left",right,left) if param[left]==param[right]:# 往前走 temp.append(param[right]) if param[left]!=param[right] or right==len(param)...