MCPcopy 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
16dog = Dog("Rex", "Shepherd")
17print(dog.speak())

Callers 1

02_classes.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected