Login and get codingIn this Bite, you'll learn about the
namedtuple
object. These objects are similar to a regular tuple; However, while elements in a regular tuple are accessed by index, elements in anamedtuple
can be accessed by an attribute through dot notation, making your code more readable.