Please enable JavaScript to use CodeHS

Introduction to Python Programming

Lesson 5.2 If Statements

Description

In this lesson, students will review how to use If and if/else statements. These statements allow programmers to use conditions to determine how their code should run.


Objective

Students will be able to:

  • Use if statements for control flow in their programs