Question: PLEASE HELP ASAP Python. Given a Book base class, define a derived class called encyelopedia with a constnuciot that initializes the attribules of the nook
Given a Book base class, define a derived class called encyelopedia with a constnuciot that initializes the attribules of the nook class as well as new attributes of the following types: - string to store the cdition - int to store the number of pages Within the derived zncyolopedia class, define a print info0 nethod that overrides the book class' print info0 method by printing the title, author, publisher, pablication date. edition, and number of pages. Ex: If the input is: the robbtt 3. M. M. Tolkinh George Nllen a Phwin it septenber 1937 The Iilustrated lncyelopedis of the Univerae Inh - sidpath Watson-Cupti11 2001 2nd 384 the output is: Dook Intermationi Book title1 the Holbit. Ruthor 3. H. I. Tolkien Tublikberi deorqe Nllen \& Dmrin Publication betei 21 Ileptebeber 1937 Book intormationt book Titiei the 11luetrated Encyelegedie of the Univeran Motbir t ian nideath Fublisheri Mateon-Guptis Publieakion patet 2001 Naltioer the Minker of Pageti 3 S
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
