while s[:1]==' ':
return trim(s[1:])
while s[-1:]==' ':
return trim(s[:-1])
return s
Sign in to make a reply
PlanetOfTheUniverse
while s[:1]==' ':
return trim(s[1:])
while s[-1:]==' ':
return trim(s[:-1])
return s