fluent Python 記錄

一、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

相關文章
相關標籤/搜索