:param num: the number of deck
(self, num=1)
| 66 | |
| 67 | class Deck: |
| 68 | def __init__(self, num=1): |
| 69 | """ |
| 70 | :param num: the number of deck |
| 71 | """ |
| 72 | self.num = num |
| 73 | self.cards = [] |
| 74 | self.built() |
| 75 | |
| 76 | def __repr__(self): |
| 77 | return "\n".join([str(card) for card in self.cards]) |