0
What is the difference if i didn't make space like that print(2*3) not print(2 * 3)
What is the difference if i didn't make space like that print(2*3) not print(2 * 3)
2 Réponses
+ 2
Ahmed Mohamed
No difference just readability of code matters. Compiler will ignore that space and will give same result.
+ 2
There is no practical difference. Both statements give same result, only outlook differs.
Smart usage of the space can increase readability of a code. For example I consider this:
print(5*8 + 6*7 + 3*5)
much more readable than this:
print(5*8+6*7+3*5)