1 2 3 4 5 6 7 8 9 10
""" Defines a struct representing a single card. The struct takes the form: (front, back) """ from collections import namedtuple Card = namedtuple('Card', ['front', 'back'])