MCPcopy 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

loopMethod · 0.95

Calls 3

next_guessMethod · 0.95
appendMethod · 0.45
sendMethod · 0.45

Tested by

no test coverage detected