class Book:
"""Represents a book.
attributes: title: str, pages: int
"""
def set_info(self, title, pages):
self.title = title
self.pages = pages
Define a method, is_shorter, which takes another book and returns True if the first book has fewer pages.
Create two books, set their attributes, and compare them using is_shorter.