Hacker News new | ask | show | jobs
by reedx8 3031 days ago
Python doesn't use semicolons as statement terminators. C does.
1 comments

Though they’re rarely used in practice, the Python grammar does allow the use of semicolons to separate multiple statements on the same line. https://docs.python.org/3/reference/compound_stmts.html