while s[-1:]==' ': s=s[:-1] while s[0:1]==' ': s=s[1:] while s[0:1]==' ' and s[-1:0]==' ': s=s[1:-1] if s==' ' or s==' ': return ' ' else: return s
Sign in to make a reply
用户6225173221