Learn Without Walls
← Back to Course Home

Module 4: Conditionals

Make your programs smart by teaching them to make decisions

4 Lessons 15 Practice Problems 12-Question Quiz ~5 hours
1
Comparison
2
if/elif/else
3
Logical Ops
4
Nested
Practice
Quiz

Learning Objectives

By the end of this module, you will be able to:

Lessons

1

Comparison Operators

Learn how to compare values using ==, !=, <, >, <=, >= and understand how Python evaluates comparisons between different types.

~60 minutes
2

if, elif, and else Statements

Master the core of decision-making in Python. Learn proper syntax, indentation rules, and how to handle multiple conditions.

~75 minutes
3

Logical Operators: and, or, not

Combine multiple conditions to create powerful decision logic. Understand truth tables and short-circuit evaluation.

~60 minutes
4

Nested Conditionals

Build complex decision trees with if statements inside other if statements. Learn when to nest and when to refactor.

~60 minutes

After the Lessons

Practice Problems

15 hands-on problems to test your skills with conditionals

Module Quiz

12 questions to check your understanding

Study Guide

Complete review of all key concepts

Quick Reference

Printable cheat sheet for conditionals