The Python Papers

The Python Papers

Share this post

The Python Papers
The Python Papers
Python 101 - Learning About Tuples
Copy link
Facebook
Email
Notes
More

Python 101 - Learning About Tuples

Mike Driscoll's avatar
Mike Driscoll
Aug 03, 2023
∙ Paid
5

Share this post

The Python Papers
The Python Papers
Python 101 - Learning About Tuples
Copy link
Facebook
Email
Notes
More
Share

Tuples are another sequence type in Python. Tuples consist of several values that are separated by commas. A tuple is immutable, whereas a list is not. Immutable means that the tuple has a fixed value and cannot change. You cannot add or delete items in a tuple. Immutable objects are useful when you need a constant hash value. The key in a Python dictio…

Keep reading with a 7-day free trial

Subscribe to The Python Papers to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Mike Driscoll
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share

Copy link
Facebook
Email
Notes
More