摘要: import collections from random import choice Card = collections.namedtuple('Card',['rank','suit']) class FrenchDeck: ranks = [str(n) for n in range(2, 阅读全文
posted @ 2020-10-23 09:31 沧海1024 阅读(244) 评论(0) 推荐(0) 编辑