Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/geekcomputers/Python
/ shuffle
Method
shuffle
blackJackGUI.py:110–111 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
108
self.Deck = [Card(suit, rank)
for
suit in SUITS
for
rank in RANKS]
109
110
def
shuffle(self):
111
random.shuffle(self.Deck)
112
113
def
deal_card(self):
114
return
random.choice(self.Deck)
Callers
4
start_game
Function · 0.45
dealer_choice
Function · 0.45
Memory_game.py
File · 0.45
game_o_life.py
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected