If it rains, I stay at home: conditional execution

A block of code is executed only when a certain condition is fulfilled

Syntax:

if CONDITION:
  STATEMENT1
  ...
  STATEMENTn

with:

CONDITION, a boolean expression

STATEMENT1,..,STATMENTn, statements which are executed if the CONDITION is TRUE