def trim(s):
if len(s)==0:
return s
if s[0]==' ' or s[0]=='/t':
s=trim(s[1:])
if s[-1]==' ' or s[-1]=='/t':
s=trim(s[:-1])
Sign in to make a reply
無淣
def trim(s):
if len(s)==0:
return s
if s[0]==' ' or s[0]=='/t':
s=trim(s[1:])
if s[-1]==' ' or s[-1]=='/t':
s=trim(s[:-1])
return s