Lesson 22 of 79 · 15 minutes

if: Rain or Shine

A villager only takes an umbrella when it's raining. Your code makes that decision, whatever the weather.

This game is part of the full course.You own the full course. Unlock all 79 Python coding games for $9, once.Opening the game…
Unlock for $9Play now

What you'll learn

Each idea opens with a short narrated video, about 3 minutes in all. Then you put it to work in the game.

The six levels

  1. Wrong Weather Change it
  2. Hot Day Copy and type
  3. Stay Dry Fill the gap
  4. Off to Work Write it
  5. Two Slips Fix it
  6. A Random Week Boss level

The levels go from changing one word, to writing the code on your own. The boss level changes every time you play.

New to Python? Start with the free games in Module 1.