figure class and two objects an partyanimal(this is where we instruct python to construct ( createan object or instance of the class partyanimal it looks like function call to the class itself python constructs the object with the right data and methods and returns the object which is then assigned to the variable an in way this is quite similar to the following line which we have been using all alongcounts dict(here we instruct python to construct an object using the dict template (already present in python)return the instance of dictionaryand assign it to the variable counts when the partyanimal class is used to construct an objectthe variable an is used to point to that object we use an to access the code and data for that particular instance of the partyanimal class each partyanimal object/instance contains within it variable and method/function named party we call the party method in this linean party(when the party method is calledthe first parameter (which we call by convention selfpoints to the particular instance of the partyanimal object that party is called from within the party methodwe see the lineself self this syntax using the dot operator is saying 'the within self each time party(is calledthe internal value is incremented by and the value is printed out the following line is another way to call the party method within the an objectpartyanimal party(an