Q19Comprehension3 Marks7 Aug 2022
Passage
Based on the above data, answer the given subquestions. Consider a class named Book that has the following attributes:
- year: year of publication
- pages: number of pages
- num_sold: number of copies sold as of 2022
The attribute best_seller will be defined in the subquestions.
```
class Book:
def __init__(self, year, pages, num_sold):
self.year = year
self.pages = pages
self.num_sold = num_sold
self.best_seller = None
```
update_status is a method of the class Book that updates the attribute best_seller to the Boolean literal True if the book has sold at least 1,000,000 copies and False otherwise. Select the correct implementation of this method.