Spaces:
Sleeping

deep_research / book.py
lemosryan007's picture
Upload folder using huggingface_hub
f233663 verified
Raw History Blame Contribute Delete
270 Bytes
class Book:
def __init__(self, title, author):
self.title = title
self.author = author
def summary(self):
print(f"The book title is {self.title} and the author is {self.author}")
book1 = Book("AI for dummies", "Ryan Lemos")
book1.summary()