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

Tagged in:

,

Comments

About the Author

akamit

I am Akash Mittal, an overall computer scientist. If you want to guest post, need help in your projects, want to advertise, Feel free to contact me at [email protected]

View All Articles