Question: 2. The following Book class has data attributes for a book's title, the author's name, and the publisher's nam in the blanks with necessary codes.

2. The following Book class has data attributes for a book's title, the author's name, and the publisher's nam in the blanks with necessary codes. (35pts) 1. class Book: 2. \#Initializer 3. self. title = title 5. 6. 7. 8. \# Mutators 9. 10. 11. 12. def set_author(self, author): 13. 5. def set pub(self, pub) : 5. 6. 7. \#. Accessors return self. title def get pub(self)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
