You are given the base class, DigitalResource, which represe…
You are given the base class, DigitalResource, which represents a generic digital resource in a library. Create a child class, EBook, that extends the functionality of DigitalResource. Create a Child Class EBook: Implement a child class, EBook, that inherits from DigitalResource. EBook should add an additional attribute, file_format (e.g., “PDF”, “EPUB”, “MOBI”). Ensure that the child class’s constructor calls the parent class’s constructor using super(). Override the get_details Method: Override the get_details method in EBook to include the file_format in the output. # Given class DigitalResource: def __init__(self, title, author): self.title = title self.author = author def get_details(self): return f”Title: {self.title}, Author: {self.author}”