Question: # here is the class for lions; read all comments and add missing class Lion ( Animal ) : This is a

# here is the class for lions; read all comments and add missing
class Lion(Animal):
"""
This is a Lion class, used to store information about lions.
"""
def __init__(self, name):
""" Initialize Lion class. All we need now is the animal nick name. """
# this class is only for lions, so we can define animal 'kind' as lion
kind = "lion"
# this calls initialization of Animal class and sets the animal to given 'name'
super().__init__(kind,name)
#--- in lines below we define attribute values for lions--#
# default required area:
# ENTER VALUE (arbitrary one or one you used in the previous
# in-class assignment)
self.required_area =
# set default number of Zoo keepers needed for lions:
# ENTER VALUE (arbitrary one or one you used in the previous
# in-class assignment)
self.required_staff =

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!