add classy extenstion task solution
This commit is contained in:
parent
47ec309c1e
commit
cce7a1b7dc
4
codewars/classy extenstion.py
Normal file
4
codewars/classy extenstion.py
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
from preloaded import Animal
|
||||||
|
class Cat(Animal):
|
||||||
|
def speak(self):
|
||||||
|
return f"{self.name}: Meows."
|
||||||
Loading…
x
Reference in New Issue
Block a user