strip 函数用于移除字符串头尾指定的字符(默认为空格)。 语法格式如下: ```python str.strip([chars]) ``` 参数如下: + chars -- 移除字符串头尾指...
確定! 回上一頁