type the following code into the window -pressing enter after each lineimport animals mychicken animals chicken("sally" print(mychickenmychicken setage(mychicken getage( print(mychickenmychicken settype("gorilla"print(mychickenmychicken makesound(the first step is to import the animals module remember that you always import the filenamenot the class the animals py file actually contains two classes in this caseanimal and chicken the example creates chickenmychickennamed sallywho is age it then starts to work with mychicken in various ways for examplesally has birthdayso the code updates sally' age by notice how the code combines the use of settersetage()with gettergetage()to perform the task after each changethe code displays the resulting object values for you the final step is to let sally say few words choose runrun module you see each of the steps used to work with mychickenas shown in figure - as you can seeusing inheritance can greatly simplify the task of creating new classes when enough of the classes have commonality so that you can create parent class that contains some amount of the code figure - sally has birthday and then says few words