def trim(s): for i in s: if s[0:1] ==' ': s = s[1:] if s[-1] ==' ': s = s[0:-1] print(s) return s
Sign in to make a reply
彩虹