Entering next row | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Entering next row

I need little help. I cannot jump to next line in python

23rd Jul 2018, 4:26 PM
HAIDER ALI
HAIDER ALI - avatar
3 Answers
+ 7
Use \n
23rd Jul 2018, 4:44 PM
***
+ 5
QailBee 🤴🏼 it fully depends on the operating system what is truly needed. One of the main reasons C++ gave endl to output the end of line so it could automatically use the correct type for the current system. Most systems use \n, a few use \r\n, and at least one used \r, of the systems I used. Originally, \n moved down in the current column and \r stayed on the same line back to column 1.
23rd Jul 2018, 6:33 PM
John Wells
John Wells - avatar
+ 2
Isn’t it \r\n ?
23rd Jul 2018, 4:59 PM
QailBee 🤴🏼
QailBee 🤴🏼 - avatar