上一个汉尼塔,这个去空格,卡了好久……
while s[:1]==' ': s = s[1:] while s[-1:]==' ': s = s[:-1] return s
Sign in to make a reply
蜜蜂-Leo
上一个汉尼塔,这个去空格,卡了好久……