Passer au contenu

Night 5: Is your pet hungry?

← 30 Code Nights · Language: Python Pseudocode (AS 9618)
English

Tonight: help your pet decide

  • Is your pet hungry or happy? It depends on its energy.
  • You will learn one thing: IF and ELSE.

Words for tonight

Word Meaning
if only when something is true
else in all other cases
condition a question with the answer TRUE or FALSE, like Energy < 5

Fiche de cours

Se connecter ou créer un compte

IGCSE, A-Level & AP