**def trim(s):
start=0 end=len(s)-1 while start < end: if s[start]==' ': start=start+1 elif s[end] ==' ': end=end-1 else: break if start>=end: return '' else: return s[start:end+1]
大神好厉害
Sign in to make a reply
虫二YCY
-- coding: utf-8 --
**def trim(s):