Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ __len__
Method
__len__
BlackJack_game/blackjack_simulate.py:79–80 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
77
return
"\n"
.join([str(card)
for
card in self.cards])
78
79
def
__len__(self):
80
return
len(self.cards)
81
82
def
built(self):
83
for
_ in range(self.num):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected