Saltar al contenido

Making decisions

English

Making a choice

  • if runs some code only when a condition is true.
  • The condition is followed by a colon :.
  • The lines that belong to the if are indented (4 spaces).

Material

Iniciar sesión o crear cuenta

IGCSE, A-Level & AP