Theory ofIntelligence
← PRACTICE/
Beginner
Python• OOP

Library Book

Build a Book class with title, author, isbn, and is_available (boolean).

Methods: borrow() and return_book(). Create a small library of books and borrow/return some.

OOP Focus: Object state changes driven by methods.

Note: This is statement-only in the current Practice version; stdout should be empty.

Sample Test Verification
1 Test Case
Statement & Architecture VerificationThis drill validates class blueprints, object attributes, and method state transitions without requiring console printing.
solution.py
Initializing Monaco Python Environment...
Input (stdin)
(empty string)
Expected Output (stdout)
(no output expected)