Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ send_number
Method
send_number
example_code/item_076.py:122–125 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
120
return
guess
121
122
def
send_number(self):
123
guess = self.next_guess()
124
self.guesses.append(guess)
125
self.send(format(guess))
126
127
128
print(
"Example 6"
)
Callers
1
loop
Method · 0.95
Calls
3
next_guess
Method · 0.95
append
Method · 0.45
send
Method · 0.45
Tested by
no test coverage detected