Question: In python please: 1 0 . 2 5 LAB: Book and Encyclopedia - Due Dec 2 2 Given the base class Book, define a derived
In python please: LAB: Book and Encyclopedia Due Dec
Given the base class Book, define a derived class called Encyclopedia. Within the derived Encyclopedia class, define a printinfo method that overrides the Book class' printinfo method by printing not only the title, author, publisher, and publication date, but also the edition and number of volumes.
Ex: If the input is:
The Hobbit
J R R Tolkien
George Allen & Unwin
September
The Illustrated Encyclopedia of the Universe
James W Guthrie
WatsonGuptill
nd
the output is:
Book Information:
Book Title: The Hobbit
Author: J R R Tolkien
Publisher: George Allen & Unwin
Publication Date: September
Book Information:
Book Title: The Illustrated Encyclopedia of the Universe
Author: James W Guthrie
Publisher: WatsonGuptill
Publication Date:
Edition: nd
Number of Volumes:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
