会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
不为别的,只为做一个连自己都羡慕的人
升级打怪
与其在别处仰望,不如在这里并肩;与其等待,不如直面。只是记录在平常开发中遇到的问题,如果有哪里写的不对,还请指出,谢谢
博客园
首页
新随笔
联系
订阅
管理
2021年8月20日
python 删除字符串中连续多个空格并保留一个的方法
摘要: ' '.join(line.split())
阅读全文
posted @ 2021-08-20 16:51 升级打怪
阅读(356)
评论(0)
推荐(0)
编辑
公告