if not isinstance(s, (str)): raise TypeError('参数需字符串') while s[(len(s)-1):len(s)] == ' ': s = s[:-1] while s[0:1] == ' ': s = s[1:] return s
Sign in to make a reply
喜欢游水的旱鸭子