Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ dealCard
Method
dealCard
classicIndianCardMatch.py:50–51 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
48
random.shuffle(self.deck)
49
50
def
dealCard(self):
51
return
random.choice(self.deck)
52
53
def
__str__(self):
54
print(self.deck)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected