The following Book class contains a constructor that include…
Questions
The fоllоwing Bоok clаss contаins а constructor that includes attributes title, author, and isbn, as well as a display_info method that prints out the information in the format "Title: {title}, Author: {author}, ISBN: {isbn}". The eBook class inherits from the Book class but includes the additional attribute format, and also has a display_info method that displays all of the information from Book as well as the format attribute. Identify and correct the errors in the code snippet so the code works as intended based on the expected output below. You cannot change entire chunks of code nor rewrite it again. Mention the line number where the error is, what the error is, and the correction. 1. class Book:2. def __init__(self, title, author, isbn):3. self.title = title4. self.author = author5. self.isbn = isbn6. def display_info(self)7. print(f"Title: {self.title}, Author: {self.author}, ISBN: {self.isbn}")8. 9. def eBook(Book):10. def __init__(title, author, isbn, format):11. super.__init__(title, author, isbn)12. self.format = format13. 14. def display_info(self):15. super().display_info16. print(f"Format: {self.format}")