【发布时间】:2018-04-24 13:25:46
【问题描述】:
我正在尝试删除特殊字符和单词之间的所有空格。
例如,
"My Sister ' s boyfriend is taking HIS brother to the movies . "
到
"My Sister's boyfriend is taking HIS brother to the movies."
如何在 Python 中做到这一点?
谢谢
【问题讨论】:
标签: python python-3.x