def trim(s): while s[0:1] == ' ': s = s[1:] while s[-1:] == ' ': s = s[:len(s)-1] return s
Sign in to make a reply
是飘啊