Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ lose_bet
Method
lose_bet
BlackJack_game/blackjack_rr.py:106–107 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
104
self.total += self.bet
105
106
def
lose_bet(self):
107
self.total -= self.bet
108
109
110
def
take_bet(chips):
Callers
2
player_busts
Function · 0.80
dealer_wins
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected