How to print a blank line in Python?

Total
0
Shares

Many beginners get confused as how to print a blank line in Python? It’s done by using print() function. You may either pass no parameter, or empty single/double quotes or even new line character. Check out the code –

print()

You may also use –

print('')

Or,

print("")

Even newline character –

print("\n")

    Tweet this to help others

Sign Up for Our Newsletters

Get only the best articles delivered to your mail

You May Also Like