if you type print beauty write bib entry(at the interpreter (after running the file)what will happen how would you change the publication year for the beauty book to " "solution and discussionmy answers typeprint pynut author remember that once an instance of book is createdthe attributes are attached to the actual instance of the classnot to self the only time self exists is in the class definition you will print out the the bibliography formatted version of the information in beauty typebeauty year " remember that you can change instance attributes of classes you have designed just like you can change instance attributes of any classjust use assignment (there is also function called setattr that you can use to assign attributes 'll talk about setattr in section exercise on defining your own class exercise (the book class and creating an article class)here are the tasks create another instance of the book class using book of your choosing (or make up bookexecute the write bib entry method for that instance to check if it looks like what you wanted add method make authoryear to the class definition that will create an attribute authoryear and will set that attribute to string that has the last name of the author and then the year in parenthesis for instancefor the beauty instancethis method will set authoryear to 'dubay ( )the method should not have return statement create an article class that manages information about articles it will be very similar to the class definition for bookexcept publisher