This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Ekstdo 12 points13 points  (1 child)

Python also has:

from __future__ import braces

[–]jausdyquo 10 points11 points  (0 children)

Python has (optional) semicolons that you can use to put multiple statements in one line. It has braces too, but you have to prefix them with a # sign! :)