Introduction to if-elif-else

Difficulty: Beginner
Duration: 8 minutes and 22 seconds
Students: 486
Rating: 5/5

This lesson is part of a series of content designed to help you learn to program with the Python programming language. We look at conditionals like if-elif-else and booleans. 

Learning Objectives

  • Describe the syntax of the if-family of conditionals.
  • Describe the concept of a boolean.
  • Explain the True and False keywords.
  • Describe nesting conditionals.

Intended Audience

This lesson was designed for first-time developers wanting to learn Python. Existing developers may want to skip.

Prerequisites

This is an introductory lesson and doesn’t require any prior programming knowledge.

Covered Topics