Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ GoodWay
Class
GoodWay
example_code/item_053.py:135–137 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
133
134
print(
"Example 10"
)
135
class
GoodWay(TimesSevenCorrect, PlusNineCorrect):
136
def
__init__(self, value):
137
super().__init__(value)
138
139
foo = GoodWay(5)
140
print(
"Should be 7 * (5 + 9) = 98 and is"
, foo.value)
Callers
1
item_053.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected