Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ShivaBhattacharjee/KeyZen
/ speak
Method
speak
data/python/02_classes.py:5–6 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
3
self.name = name
4
5
def
speak(self):
6
return
f
"{self.name} makes a noise."
7
8
class
Dog(Animal):
9
def
__init__(self, name, breed):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected