Conditionals

Run Code If Something Is True

① Learn

An if statement runs only when its condition is true. Conditions are often comparisons like score >= 80.

② Implement — write it, run it, submit
Goal

Make `message` equal `level up`.

Output
Hints
  • Stuck? Reveal a hint.
Free Tools & Calculators