Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/bslatkin/effectivepython
/ Grade
Class
Grade
example_code/item_029.py:174–176 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
172
173
@dataclass(frozen=True)
174
class
Grade:
175
score: int
176
weight: float
177
178
179
print(
"Example 10"
)
Callers
1
report_grade
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected