Learn Python
Strings
3.9
Lesson

Joining two strings - New Line Character

We can also join and print the strings in two lines using \n as shown below:

Here is an example, where the two strings are printed in two lines.