3 ms·
> Unlike Python, short one line blocks can be expressed after the colon as a form of syntactic brevity The author might not be aware of it, but Python does act
by FBT 11y ago
> Unlike Python, short one line blocks can be expressed after the colon as a form of syntactic brevity
The author might not be aware of it, but Python does actually have this syntax feature, for this exact purpose.