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:344–347 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
342
return
guess
343
344
async
def
send_number(self):
# Changed
345
guess = self.next_guess()
346
self.guesses.append(guess)
347
await self.send(format(guess))
# Changed
348
349
350
print(
"Example 21"
)
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