Python strip()方法. strip() 方法用于删除字符串左右两个的空格和特殊字符,该方法的语法格式为:. str.strip([chars]). 其中,str 表示原字符串,[chars] 用来指定要 ...
確定! 回上一頁