Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ receive_report
Method
receive_report
example_code/item_076.py:129–134 ·
view source on GitHub ↗
(self, decision)
Source
from the content-addressed store, hash-verified
127
128
print(
"Example 6"
)
129
def
receive_report(self, decision):
130
last = self.guesses[-1]
131
if
decision == CORRECT:
132
self.secret = last
133
134
print(f
"Server: {last} is {decision}"
)
135
136
137
print(
"Example 7"
)
Callers
1
loop
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected