+ 1
What's the difference between print("whatever") and print ("whatever")? Space between print and ( Does it make the file bigger?
Python general Syntax Question
5 Answers
+ 6
Putting necessary indentations aside, the effects of removing whitespaces is negligible, size and performance wise.
+ 11
It increases your script file by 1 byte, does not affect the program execution.
+ 8
@Markus The whitespace between print and its parenthesis usually don't contribute much to readability, but it is all up to the programmer to decide if it makes things more comfortable.
+ 1
So then it makes sense to reduce the spaces in a big code, right? Or is it not worth it to lose readability?
0
And does it makes sense to get rid of all whitespaces in the code due to a small file size? Or is this irrelevant?