+ 1
What is the use of \n?
3 Réponses
+ 5
Goes to the next line.
+ 1
To add a line-break in the output.
Example:
print("Blabla") ->
Blabla
print("Bla\nbla") ->
Bla
bla
+ 1
line break in a string
example:
“some \ntext”
result:
some
text