def trim(s): if s[:1]==' ': return trim(s[1:]) if s[-1:]==' ': return trim(s[:-1]) return s
Sign in to make a reply
金钟铉