0
What does the \n do in Python 3?
I tried to look it up on the internet but couldn't find anything helpful.... Any help is much appreciated.
2 Answers
+ 9
It is a universal (not only for Python) 'end-of-line' or 'newline' character or rather its escape sequence.
It tells the interpreter to start a new line when printing.
+ 1
Thanks Kuba