Chapter 15

Making Decisions with Conditionals

Learning Objectives

After completing all the content in this chapter, you should be able to do the following:

  1. Use conditional statements: if, else, and elif.

Key Terminology

Here is a list of key terms broken down by the page upon which they first appear.

Data Type for True and False

  1. equality operator

Boolean Expressions

  1. boolean expression
  2. condition
  3. comparison operator
  4. operands

Conditionals

  1. conditional statements
  2. code block

Logical Operators

  1. Boolean operators
  2. logical operator

Nested Conditionals

  1. nested conditional

Chained Conditionals

  1. chained conditional