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

Method shuffle

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

Source from the content-addressed store, hash-verified

70 deck_comp += "\n " + card.__str__()
71
72 def shuffle(self):
73 random.shuffle(self.deck)
74
75 def deal(self):
76 single_card = self.deck.pop()

Callers 4

shuffleDeckFunction · 0.45
blackjack.pyFile · 0.45
dealer_choiceFunction · 0.45
blackjack_rr.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected