Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Semicolons are already supported in Python, for the cases where it might be needed (one liners on the command line), just not required.

    import sys; print(sys.executable)
    x = 5; # this is fine


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: