Please enable JavaScript to use CodeHS

Teaching Intro to Computer Science in Python 3

Lesson 4.7 If Statements

Description

In this lesson we will learn how to use If and If-Else Statements; these statements allow you to use conditions to determine how your code should run.


Objective

Students learn how to use if statements for control flow in their programs.