example (example of class definition for book class)this class provides template for holding and manipulating information about book the class definition provides single method (besides the initialization methodthat returns formatted bibliographic reference for the book the code below gives the class definition and then creates two instances of the class (note line continuations are added to fit the code on the page) class book(object)def __init__(selfauthorlastauthorfirsttitleplacepublisheryear)self authorlast authorlast self authorfirst authorfirst self title title self place place self publisher publisher self year year def write_bib_entry(self)return self authorlast 'self authorfirst 'self title 'self place 'self publisher 'self year beauty book"dubay""thomas"the evidential power of beauty"san francisco"ignatius press"" pynut book"martelli""alex"python in nutshell"sebastopolca" 'reilly mediainc "" can you explain what each line of code doessolution and discussionline begins the class definition by conventhe object tionclass names follow the capwords convention (capitalize the first letter object and of every wordthe argument in the class statement is special object called inheritance