python去除空格和换行符的实现方法(推荐) 一、去除空格 strip() " xyz " strip() returns "xyz " " xyz " lstrip() returns "xyz python编程 2022-04-24 80 点赞 1 评论 121 浏览