HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by qntm | Hacker News Reader
Parent
Full thread
qntm
·
That's because in Python the line break is the statement terminator.
View on HN
JeremyBanks
·
Python and JavaScript both accept semicolons or line breaks to terminate statements. JavaScript's syntax problems are a bit more subtle than just that.
Reply on news.ycombinator.com