Tagged: Namedtuple in python example

python namedtuple 0

Namedtuple in Python

The namedtuple in Python is a function available in the collections module. It returns a subclass a tuple. The elements in the returned tuple can be accessed using either labels...