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

Method __init__

blackJackGUI.py:107–108  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

105
106class Deck:
107 def __init__(self):
108 self.Deck = [Card(suit, rank) for suit in SUITS for rank in RANKS]
109
110 def shuffle(self):
111 random.shuffle(self.Deck)

Callers

nothing calls this directly

Calls 1

CardClass · 0.70

Tested by

no test coverage detected