while s[:1]==' ':
s=s[1:]
while s[-1:]==' ':
s=s[:-1]
return s
看了你的才知道我的多么复杂。。。。
Sign in to make a reply
喵喵喵喵猫女士
while s[:1]==' ':
s=s[1:]
while s[-1:]==' ':
s=s[:-1]
return s