
Reading time: 20 minutes | Coding time: 5 minutes
A Tuple is an ordered and immutable collection of objects. Once initialized you may not change them.
Tuples are used to hold together multiple objects. Think of them as similar to lists, but without the extensive functionality that the list class gives you. One major feature of tuples is that they are immutable like strings i.e. you cannot modify tuples.
Read about Tuples in Python
NamedTuples are Tuples that allow you to:
Name each Tuple f...
Published on June 09, 2020 05:11