📌  相关文章
📜  如何在 python 代码示例中将列表转换为字符串

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

代码示例1
lines2 = " ".join(lines)     # Converts the list to a string.
                            # This should work for writing to a file
file.write(lines2)