You can print a blank line using the \n special character in python as a standard way. You can use the \n special character when you want to split a string into multiple lines.

print("one \n line")

#output

first 
 line

Ways of printing newline in Python:

  1. Using the \n between the string(the above one)
  2. We can use the print() function to print the newline
    how-to-print-new-line-python
  3. You can use the end="\n" option in the print statement.
    how-to-print-a-newline-in-python
0 results
Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions