0
I got a little stumped very early on with multiple lines, my python 3.9.1 on IDLE doesn't let me do it w/o using the \n
2 Antworten
+ 1
What do you mean "does not let me do it w/o using the \n" ?
As far as I know, you must need to use \n to indicate NEXT LINE. So what is your doubt/problem?
Or if youre saying about printing multiple lines withouth \n you can use 3 QUOTATION MARKS like this
print("""Line 1
Line2
Line3""")
+ 1
Thank you very much. Very quickly learning there's more than one way to skin a cat as we say in uk