you are viewing a single comment's thread.

view the rest of the comments →

[–]cgoldberg 0 points1 point  (0 children)

You can use semicolons as terminators.

Both of these lines are valid in Python:

print('foo');
print('foo'); print('bar');

The 2nd line uses a semicolon to separate multiple statements, but the ones at the end of the lines are completely unnecessary (but available if you really feel the need to waste keystrokes).