Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/geekcomputers/Python
/ adjust_for_ace
Method
adjust_for_ace
BlackJack_game/blackjack_rr.py:92–95 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
90
self.aces += 1
91
92
def
adjust_for_ace(self):
93
while
self.value > 21 and self.aces:
94
self.value -= 10
95
self.aces -= 1
96
97
98
class
Chips:
Callers
1
hit
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected