3 Answers
+ 12
You don't need to put \n at then end of a line in python. The print() function automatically adds a new line. Still putting a \n will add 2 new lines. If you do not want new lines to be added automatically you can use print("hello",end="")
7th Dec 2017, 12:59 PM
Swapnil Srivastava
Swapnil Srivastava - avatar
+ 2
I use \n line it seems it break \n-> 1line and below code is so conjusted. Is it legal to use \n in cpython..!
6th Dec 2017, 4:55 PM
Bits!
+ 1
Everything seems to be correct , what's the problem then . Be more specific.
6th Dec 2017, 4:51 PM
RZK 022
RZK 022 - avatar