Skip to content

Usage — English

Write and execute pseudocode in English with exactly the same semantics as every other supported language.

Function maximum(a, b):
    If a > b Then:
        Return a
    Else:
        Return b
    End
End

Repeat 3 times:
    Display maximum(2, 5)
End

For a short or ambiguous snippet, # language: xx explicitly selects the language.

Thonny 5 → Pseudocode
Diagnostics · Step-by-step execution · Documentation · Flowchart · Information

Language-specific notes

  • English intentionally stays close to common programming terminology and accepts universal Python bridge spellings.
  • self and this are strict synonyms.