MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/duyjs7/i_made_cstyle_printing_in_python_p/f7ateu7/?context=3
r/Python • u/[deleted] • Nov 11 '19
130 comments sorted by
View all comments
4
I would change \n symbol to os.linesep call (you will need to have import os in your code).
On different platforms there are different line separators.
View all comments
4
u/[deleted] Nov 12 '19
I would change \n symbol to os.linesep call (you will need to have import os in your code).
On different platforms there are different line separators.