Here's a diagram representing a class hierarchy:
The arrow points from a child class to the parent.
In the code below, create classes that correspond to this graph.
You should define the __init__ method in the class Animal with the parameter name. In the __init__, you should create an instance attribute name. In other classes, you don't need to define anything.