How to add a new line using the print function?

There are multiple ways to create a new line in Python. Here are some common approaches:

1. Using the newline character '\n':

In Python, \n is an escape sequence that represents a new line. You can use it within a string to start a new line. For example:

2. Using triple quotes:

Triple quotes (either single or double) can be used to create multi-line strings. Each line within the triple quotes starts on a new line. For example: