MCPcopy Create free account
hub / github.com/geekcomputers/Python / __init__

Method __init__

BlackJack_game/blackjack_rr.py:61–65  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

59
60class Deck:
61 def __init__(self):
62 self.deck = []
63 for suit in suits:
64 for rank in ranks:
65 self.deck.append(Card(suit, rank))
66
67 def __str__(self):
68 deck_comp = ""

Callers

nothing calls this directly

Calls 2

CardClass · 0.70
appendMethod · 0.45

Tested by

no test coverage detected