0

What is purpose of \n ?

Yes...its an escape sequence but I cannot get that what is the purpose.

24th Mar 2019, 6:07 AM
Rohan Agarwal
Rohan Agarwal - avatar
3 Answers
+ 8
Gaming machine It represents a new line. If you want to enter a new line between your output, you use this escape character.
24th Mar 2019, 6:20 AM
Letsintegreat
Letsintegreat - avatar
+ 2
Gaming machine Note: If you use it as a raw string, it won't work.
24th Mar 2019, 6:19 AM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
+ 2
Gaming machine Note: If you use it as a raw string, it won't work.
24th Mar 2019, 6:19 AM
Sarthak Pokhrel
Sarthak Pokhrel - avatar