Skip to content
EspañolWorkspace →

PSeInt pseudocode reference

Each word of the language has its own page: what it does, a complete example with the output it prints, the most common mistake and how it looks in a flowchart.

The examples use PSeInt's syntax, which is in Spanish, and were checked by running them in Codoritmo, a free editor that works in the browser. Open any of them with one click and change it.

Structures

The instructions an algorithm is built from: reading and showing data, deciding, repeating and splitting a program into parts.

Algebraic

Arithmetic: addition, subtraction, multiplication, division, powers and the remainder of a division.

Logical

To combine conditions or flip them.

Relational

To compare two values. They always answer true or false.

Math Functions

Ready-made functions for absolute values, rounding, square roots and random numbers.

String Functions

Functions to measure, cut, join and convert text.

Constants

Values the language already knows.

Codoritmo is an independent, open-source project inspired by PSeInt and compatible with its syntax. It is not affiliated with the PSeInt project. Official PSeInt website.