Newlines (Multilines) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Newlines (Multilines)

I know you can use n\, but I want to use triple quote and it doesn't work. Am I doing it wrong? print ("""a b c d""")

18th Dec 2021, 4:43 AM
Recode
Recode - avatar
2 Answers
+ 5
Try this: print ("""a b c d""")
18th Dec 2021, 5:15 AM
SAN
SAN - avatar
+ 3
You should write as you want to see in the output
18th Dec 2021, 5:01 AM
Solo
Solo - avatar