0

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

6th Sep 2019, 12:23 PM
Yash Garg
Yash Garg - avatar
2 Answers
+ 1
Your Python file will be shorter by 2 characters if you use print() instead of print("").
6th Sep 2019, 2:00 PM
Seb TheS
Seb TheS - avatar
0
printing an empty String and printing nothing both just ends in printing an empty line đŸ€·â€â™‚ïž
6th Sep 2019, 12:57 PM
Anton Böhler
Anton Böhler - avatar