parts = ['Is', 'Chicago', 'Not', 'Chicago?']
' '.join(parts) # 'Is Chicago Not Chicago?'
关联:split
文档信息
- 本文作者:zhupite
- 本文链接:https://zhupite.com/python/python-join.html
- 版权声明:自由转载-非商用-非衍生-保持署名(创意共享3.0许可证)
parts = ['Is', 'Chicago', 'Not', 'Chicago?']
' '.join(parts) # 'Is Chicago Not Chicago?'
关联:split