python strip()方法. strip()方法用于删除字符串左右两边的空格、特殊字符. 该方法的语法:. str.strip([char]). str为字符串名,char为指定字符.
確定! 回上一頁