Print("") vs Print(end="\n") - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Print("") vs Print(end="\n") (/thread-9080.html) |
Print("") vs Print(end="\n") - 3go - Mar-20-2018 While I tested, who fast some functions are, I tested the "print" function. So I found out that print(end="\n") is faster. Is there any reason then to use print("") RE: Print("") vs Print(end="\n") - wavic - Mar-20-2018 There is no reason to use print('', end'\n') instead of plain print(''). Printing to the console is for human beings. We are unable to catch the difference. We are slow readers. This can't slow your program significantly.
|