一、method collections.namedtuple() can be used to build classesof objects that are just bundles of attributes with no custom methods, like a database record. python
Card = collections.namedtuple('Card', ['rank', 'suit'])
二、ui