place order with employee self food employee takeorder(foodnamedef printfood(self)print the name of my food print(self food nameclass employeedef takeorder(selffoodname)return food(foodnamereturn foodwith desired name class fooddef __init__(selfname)self name name store food name if __name__ ='__main__' lunch( order('burritos' result( order('pizza' result(self-test code if runnot imported python lunch py burritos pizza zoo animal hierarchy here is the way coded the taxonomy in python (file zoo py)it' artificialbut the general coding pattern applies to many real structuresfrom guis to employee databases to spacecraft notice that the self speak reference in animal triggers an independent inheritance searchwhich finds speak in subclass test this interactively per the exercise description try extending this hierarchy with new classesand making instances of various classes in the treeclass animaldef reply(self)def speak(self)self speak(print('spam'class mammal(animal)def speak(self)print('huh?'class cat(mammal)def speak(self)print('meow'class dog(mammal)def speak(self)print('bark'back to subclass custom message class primate(mammal)def speak(self)print('hello world!'class hacker(primate)pass inherit from primate the dead parrot sketch here' how implemented this one (file parrot pynotice how the line method in the actor superclass worksby accessing self attributes twiceit sends python back to the instance twiceand hence invokes two inheritance searches--self name and self says(find information in the specific subclasses appendix dsolutions to end-of-part exercises