How to use \n in python 3? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to use \n in python 3?

Can't use trying to know the way to use it

20th Dec 2019, 11:48 AM
KillerUV
KillerUV - avatar
1 Answer
+ 6
KillerUV your question is a bit vague. Maybe this is what you want print('This\nspans 3\nlines')
20th Dec 2019, 12:04 PM
Louis
Louis - avatar