PHASE 02

🔀 Making Decisions

Programs get smart when they decide. Python uses indentation instead of brackets, so your decisions look as clean as they read.

⏱️ ~2 hours of lessons 📚 4 lessons ✏️ 8 exercises Beginner
▶ Start this phase

🎯 In this phase you will…

  • Compare values and understand booleans
  • Write if / elif / else with correct indentation
  • Combine conditions with and, or, not
  • Use match for menus of choices

📺 Lessons in this playlist

📝 Phase test

Concept questions, pseudocode writing, tracing and debugging — check you’re ready for the next phase.

🔮 What will this display?
What does this print?
1n = 152if n % 3 == 0 and n % 5 == 0:3    print("FizzBuzz")4elif n % 3 == 0:5    print("Fizz")6else:7    print(n)