+ 1
Python code for line break? Like the "endl" in C++ and <br \> in html
12 Respuestas
+ 4
Yes, the print() function in python will automatically print a newline after a string you pass it as argument.
If you want just a newline you can use it without argument too, like this:
print()
this will print just a newline.
+ 4
https://code.sololearn.com/cV1QzYWzeIz6/?ref=app
Y'all can Please check out my code on the playground, and prolly share it to other places, thank you😁
+ 2
how bout now
+ 2
use "\n"
+ 2
print("hello \n did the line just break.. \n lol.. not it didn't");
👆 that's it.. use the newLine character: \n
+ 2
u're welcome bro.. 👍
+ 2
yea bro.. am Nigerian.. ☺
+ 1
Hello Ulisses, the code Matrix that you liked is NOT MINE. I had only saved it to study it and was mortified to see that I had made it public by mistake.
+ 1
It's good of your part to say that @Oki. That shows you have moral values.
+ 1
Thank you
+ 1
Ogar are you Nigerian?
0
I did not understand the question