# Chained Comparison

say it: **“CHAYND kum-PAIR-ih-sun”** **/ˈtʃeɪnd kəmˈpærɪsən/**

Several comparisons in one go, like 18 &lt;= age &lt; 65.

## What is a **chained comparison**?

A **chained comparison** checks several comparisons in one go, the way you would write it in math.

```python
age = 30
print(18 <= age < 65)  # True: working age
```

Level: Journeyman · [More Python terms at this level](https://www.ask-codey.com/glossary?category=python&level=3)

Updated: November 17, 2026

Source: https://www.ask-codey.com/glossary/chained-comparison
