# Tuple Unpacking

*noun*

say it: **“TOO-pul un-PAK-ing”** **/ˈtupəl ʌnˈpækɪŋ/**

Putting each item of a tuple, or a list, into its own variable in one line, such as latitude, longitude = location.

## What is **tuple unpacking**?

**Tuple unpacking** puts each item of a tuple (or list) into its own variable in one line.

```python
location = (39.7392, -104.9903)
latitude, longitude = location
print(longitude)  # -104.9903
```

## In a sentence

- “for name, score in results: uses **tuple unpacking** on each pair.”
- “**Tuple unpacking** split the location into latitude and longitude.”

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

Updated: November 19, 2026

Source: https://www.ask-codey.com/glossary/tuple-unpacking
