why has he put a\n after enter a number when not needed ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

why has he put a\n after enter a number when not needed ?

16th Aug 2016, 4:22 PM
Solid Snake
Solid Snake - avatar
3 Answers
+ 2
oh okay... thanks
17th Aug 2016, 12:47 AM
Solid Snake
Solid Snake - avatar
+ 2
it will show the next line to use \n and \t a tab to space a particular gape in line
20th Aug 2016, 5:23 PM
Kuldeep Kashyap
+ 1
Perhaps he wanted the number that the user is to type in to appear on the next line as opposed to the same line as the instruction?
16th Aug 2016, 4:51 PM
Ahkrin