← Back to All Modules
Module 2Beginner

Control Flow & Logic

Make programs that think and decide. Master conditionals, loops, and logical operations.

3-4 hours
5 Lessons
8 Exercises

🎯 Learning Objectives

By completing this module, you will:

  • Make decisions with if/elif/else statements
  • Compare values using comparison operators
  • Combine conditions with logical operators
  • Repeat actions with for and while loops
  • Control loop execution with break and continue
  • Handle nested loops and complex conditions
  • Write cleaner code with better logic

📖 Lessons

📚 Module Resources

🚀 End-of-Module Project

Number Guessing Game & Password Validator

Build an interactive game with hints and a security-focused password checker.

Features you'll build:

  • Random number generation
  • Score tracking
  • Password security checks
  • User feedback
View Project Details