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