+ 1

Why do we use \n ?

25th Nov 2016, 4:51 PM
Bhumit Attarde
Bhumit Attarde - avatar
10 ответов
+ 6
if \n is not used the console writes on same line to have a line break it is used there are many ways to have line break
25th Nov 2016, 4:56 PM
Sandeep Chatterjee
+ 2
For next line
30th Nov 2016, 7:51 PM
sagar goel
sagar goel - avatar
+ 2
/n is a way to break a line without a struggle, it is great when coding in python
5th Dec 2016, 4:19 AM
Ann Julien
Ann Julien - avatar
+ 2
\n is used for new line
25th Dec 2016, 9:40 AM
shweta
+ 1
gotcha
25th Nov 2016, 4:57 PM
Bhumit Attarde
Bhumit Attarde - avatar
+ 1
to get print on new line
26th Nov 2016, 5:44 PM
Mamoona Nisar
+ 1
next line
27th Nov 2016, 4:00 AM
ved
0
to get new line
27th Nov 2016, 7:24 PM
kidist
kidist - avatar
0
line break
29th Nov 2016, 3:41 PM
Umar FarÆz
Umar FarÆz - avatar
0
new line bos
1st Dec 2016, 8:07 AM
Saepul Anwar
Saepul Anwar - avatar