Question: Question 3 :Author Popularity For the class Author add the method sum _ downloads that returns the total number of downloads of all the works
Question :Author Popularity
For the class Author add the method sumdownloads that returns the total number of downloads of all the works of an author in the Gutenberg Project. Note that you will probably want to use the downloads attribute from the Book class.
Question :Printing Authors
Define the string method for the Author class. This method should return a string similar to:
The author James Joyce has books in the Gutendex data.
This author is popular.
The last sentence of this string depends on the total number of downloads of the author:
Above downloads it should be "This author is extremely popular!",
below "This author deserves a larger readership!",
"This author is popular." otherwise
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
