Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ShivaBhattacharjee/KeyZen
/ speak
Method
speak
data/python/02_classes.py:13–14 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
11
self.breed = breed
12
13
def
speak(self):
14
return
f
"{self.name} barks!"
15
16
dog = Dog(
"Rex"
,
"Shepherd"
)
17
print(dog.speak())
Callers
1
02_classes.py
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected