MCPcopy Index your code
hub / github.com/geekcomputers/Python / __init__

Method __init__

BlackJack_game/blackjack_simulate.py:68–74  ·  view source on GitHub ↗

:param num: the number of deck

(self, num=1)

Source from the content-addressed store, hash-verified

66
67class 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])

Callers

nothing calls this directly

Calls 1

builtMethod · 0.95

Tested by

no test coverage detected