What does condition mean?

An expression that is either true or false, used by selection and iteration to decide what happens next: distance() < 10, for example.

Also written as: conditions

In a lesson

Here is the block from the last lesson doing its real job. The if line asks a question, the condition. If the answer is True, the block runs. If it is False, the block is skipped, and the program carries on with the first line after the block.

Learn it

Used in

and 25 more lessons.

Do the lesson in the simulator

All glossary terms