Skip to content
RED SAG Skills
mediumStudy question · answer published in Python interview questions, so no pointspythonstringsperformance

Building a long string in a loop

A loop builds a CSV line for each of 1 million rows and adds each to a big string with +=. What is the most reliable way to make this fast?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions