SyntaxFix
Write A Post
Hire A Developer
Questions
You can print a native linebreak using the standard os library
os
import os with open('test.txt','w') as f: f.write(os.linesep)