Lesson
3.5
Conditionals: If and Else
This lesson uses:
In this lesson, students will use Python programming to learn how to make decisions using if and else statements. They will explore how a condition is checked once to decide which part of the program runs and how Boolean values determine whether that condition is true or false. By the end of the lesson, students will write programs that respond differently based on a given condition, such as making the drone act like a vehicle at a traffic light by moving on green, slowing on yellow, or hovering on red.