def ownTrim(s): while s[0:1] == " ": s = s[1:] while s[-2:-1] == " ": s = s[:-2] return s
Sign in to make a reply
清风