0

New lines Python

So when coding using python on a pc how do I start coding on a new line instead of just having it go on one line forever.

6th Jan 2020, 11:31 PM
Ryan Heinrichs
Ryan Heinrichs - avatar
2 odpowiedzi
+ 4
In python '\n' is used for changing the line..☺
7th Jan 2020, 2:47 AM
❤ Erika ❤
❤ Erika ❤ - avatar
+ 2
print("I am Koder King") # output: I am Koder King print("I am \n Koder King") # output: I am # Koder King "\n" starts a new line not only in python but in all languages except for HTML which uses <br>
7th Jan 2020, 12:11 AM
Jella
Jella - avatar