There is no difference. Python completes a line of code at the end of a logical line or when encountered;
The only advantage of using it ;is that you can stack multiple logical lines in one physical line. For example (in python3):
import sys
for i in range(10):
print(i, end=' '); sys.stdout.flush()
However, this is a terrible coding style, so never do it
source
share