DEV Community

DDSRY
DDSRY

Posted on • Edited on

What if I wanted to start strings on a new line in Python ?

You simply start the string with \n like this,

▪ print("Deepak\nYadav")

Top comments (0)