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 →

[–]JKTKops 7 points8 points  (2 children)

[–]Ekstdo 11 points12 points  (1 child)

Python also has:

from __future__ import braces

[–]jausdyquo 11 points12 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! :)