0
Guys i dont get the \n
What does \n mean? Isn't it similar to the( " " " )triple quotes?
5 Respuestas
+ 2
\n is the invisible control character that marks a new line.
Without it, the text would just flow continuously in a single line, and it would be difficult to read.
But visually this character does not appear in the output, it just pushes the following text to the start of the next line.
+ 1
If you use it on your code it will be explainable for yuo
Use it among your string
inside quotes of print function
+ 1
0
"\n" is used for printing strings in new line.
0
Yes it is.
The \n can b used to add a string to a new line and the """ can also be used to the same thing.
But """ automatically adds a new line when you enter a new line which saves you time of writing \n every time to want to add a new line.