0

What is the difference between print("") and print() at the last statement in python coding

9/6/2019 12:23:11 PM

Yash Garg

3 Answers

New Answer

+3

Yash Garg print("") prints an empty string and inserts a new line. print() prints a newline and then inserts newline visually both have same effect.

+1

Your Python file will be shorter by 2 characters if you use print() instead of print("").

0

printing an empty String and printing nothing both just ends in printing an empty line 🤷‍♂️