"How to write list of strings to file, adding newlines?","data.write('%s%s\n' % (c, n))"