SyntaxFix
Write A Post
Hire A Developer
Questions
What about this:
with open("your_csv_file.csv", "w") as f: f.write("\n".join(text))
str.join() Return a string which is the concatenation of the strings in iterable. The separator between elements is the string providing this method.