Courses / Python
4. Tuples
A tuple is an immutable, ordered collection of items in Python.
1 min read Chapter 4 of 72
Python
Tuples
A tuple is a fixed-size, immutable collection of items in Python.
"I want to store related data together without worrying about it changing."
A tuple is an ordered collection of elements that cannot be modified after creation, making it useful for fixed data sets.
"I want to store related data together without worrying about it changing."
A tuple is an ordered collection of elements that cannot be modified after creation, making it useful for fixed data sets.