The Animal base class sets up the name attribute.
- The
Catclass inherits fromAnimalso it automatically gets the name property. - I added the
speakmethod to theCatclass to make it return a str.
Description
Languages
Python
100%