Python Named Tuple: What, How and When to Use
Recipes of Python Named Tuple and why we should use it
Published in
9 min readNov 21, 2021
There is a “special” type of tuples in Python that is called “named tuple”. It is quite common for Python learners to be confused about it, especially when and why we should use it.
A named tuple is a tuple, so it does everything that a tuple can. However, it is beyond a…