📜  python 3 替换所有空白字符 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:08.126000             🧑  作者: Mango

代码示例2
>>> s = " \t foo \n bar "
>>> "".join(s.split())
'foobar'