Explore the collections module for useful container types like namedtuple, defaultdict, Counter, and deque.
Source Code
from collections import namedtuple, defaultdict, Counter
Point = namedtuple('Point', ['x', 'y'])
point = Point(10, 20)
print(point.x)