Can someone explain this to me? I didn't understood | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can someone explain this to me? I didn't understood

why do we use "\n"

30th Sep 2016, 12:18 AM
Tomas Aguirre Margery
Tomas Aguirre Margery - avatar
6 Answers
+ 2
This symbol is what the python interpreter recognizes as a new line; like when you hit 'enter' in a text document!
30th Sep 2016, 1:52 AM
Ryder Wishart
Ryder Wishart - avatar
0
Input: \"
30th Sep 2016, 12:32 AM
COOBOOR
COOBOOR - avatar
0
it is for starting a new line
30th Sep 2016, 12:32 AM
Omar Faruq
Omar Faruq - avatar
0
starting a new line
30th Sep 2016, 1:02 AM
Chakib Dabbek
Chakib Dabbek - avatar
0
what do you refer to a new line?
30th Sep 2016, 1:10 AM
Tomas Aguirre Margery
Tomas Aguirre Margery - avatar
0
>>> print ("hello\n\nworld') hello world >>>
30th Sep 2016, 2:11 AM
Giovanni Gatto
Giovanni Gatto - avatar