Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/geekcomputers/Python
/ can_double
Method
can_double
BlackJack_game/blackjack_simulate.py:189–190 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
187
self.is_insurance = False
188
189
def
can_double(self):
190
return
self.current_amount() - self.bet_amount >= 0
191
192
193
class
User:
Callers
2
double_bet
Method · 0.95
menu
Method · 0.80
Calls
1
current_amount
Method · 0.95
Tested by
no test coverage detected