How to make a tuple PREMIUM

Topic Series: Overlooked Fundamentals

Trey Hunner smiling in a t-shirt against a yellow wall
Trey Hunner
5 minute read Works on Python 3.7—3.10
Python Morsels
Watch as video
03:47

What are tuples and how can you make them?

Making tuples in Python

Here's a list named coordinates:

>>> coordinates = [3, 4, 5]
>>> type(coordinates)
<class 'list'>

...

Write more Pythonic code

Need to fill-in gaps in your Python skills? I send regular emails designed to do just that.