while(s[:1]== ' '): s=s[1:] while(s[-1:]==' '): s=s[:-1] return s
NB
学习了。
简单明了
厉害了。
厉害!
Sign in to make a reply
请叫我耿耿哥