Entering next row | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Respostas
+ 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