利用join() 方法: str.join(sequence) s = ['h', 'e', 'll', 'o'] out = ''.join(s) 输出: str() 函数 只是将对象转化为适于人阅读的形式,不能转换形式。