Python Namedtuple Syntax & Function With Example
[https://hackthedeveloper.com/python-namedtuple-syntax-function/] - - public:dshekhar17
A namedtuple in python is a subclass of tuples. The named tuple has the same functionalities as a normal tuple, but its values can be accessed both by name (using dot notation eg: .name) as well as by position (offset notation eg: [0]).