A project that applies OOP, classes/objects, inheritance, iterators, polymorphism, and scope in Python.
It models a small library system with books and extended textbook details.
Bookclass for common book details.TextBooksubclass with extra attributes.- Iterator to loop through stored books.
- Polymorphism: same method behaves differently for
BookandTextBook. - Global variable used to demonstrate Python scope.