New course! Every coder should learn Generative AI!
Try a free lesson0
Will python always print in new line?
3 Answers
+ 2
By default yes.
If you don't want it to, use end parameter.
print ("string", end=' ')
+ 1
Yes, unless you include end="" in your print statement.
0
Thanks a lot