class Book: def __init__(self, name: str, description: str, image: str, review: str) -> None: self.name: str = name self.description: str = description self.image: str = image self.review: str = review def to_html(self) -> str: return f""" {self.name} {self.description} img/{self.image} {self.review} """