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

8th Dec 2020, 9:57 AM
Jon Von Pecker Parry
Jon Von Pecker Parry - avatar
2 Respostas
+ 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""")
8th Dec 2020, 10:02 AM
noteve
noteve - avatar
+ 1
Thank you very much. Very quickly learning there's more than one way to skin a cat as we say in uk
8th Dec 2020, 11:17 AM
Jon Von Pecker Parry
Jon Von Pecker Parry - avatar