MCPcopy 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

loopMethod · 0.95

Calls 3

next_guessMethod · 0.95
appendMethod · 0.45
sendMethod · 0.45

Tested by

no test coverage detected