Introduction to if-elif-else

Beginner
8m 22s
372
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.

About the Author
Students
110,853
Labs
37
Courses
50
Learning paths
58

Ben Lambert is a software engineer and was previously the lead author for DevOps and Microsoft Azure training content at Cloud Academy. His courses and learning paths covered Cloud Ecosystem technologies such as DC/OS, configuration management tools, and containers. As a software engineer, Ben’s experience includes building highly available web and mobile apps. When he’s not building software, he’s hiking, camping, or creating video games.

Covered Topics