Bridge Academy.
← BACK TO MATERIALS
WEEK 08 · MAY 21, 2026

Data Types · Part 2

Relational operators, truthy/falsy edge cases, float imprecision, and/or/not logic.

Lesson 03 · Data Types — Level II · Guide · Part 2

May 21, 2026 · Bridge Academy Python Program

Learning goals

- Compare values with ==, !=, <, >, <=, >=. - Understand truthy and falsy values. - Check a value's type with type(x) == int. - Spot float accuracy problems like 0.1 + 0.2 != 0.3. - Combine booleans with and, or, and not.

This lesson covers PCEP-30-02 objectives 1.3 and 1.4.

Preview truncated — download the notebook to see the full lesson.