Grouping instructions in blocks

Syntax and values

A block is a group of instructions that belong together. Indentation shows which instructions belong to a decision, loop, or function.

Compound statements end their header with : and place a non-empty body on
later indented lines:

if ready:
    say "Go!"

Inline bodies are invalid:

if ready: say "Go!"  # invalid

A comment does not count as a statement, so a comment-only block is invalid.
Pliro has no pass statement.

Syntax and values · Built-ins · Programming guides