Answer to Question #261061 in Python for Jac

Question #261061

Create a simple library management system following the set of requirements:


  1. Any library member should be able to search books by their title, author, subject category as well by the publication date.
  2. Each book will have a unique identification number and other details including a rack number which will help to physically locate the book.
  3. There could be more than one copy of a book, and library members should be able to check-out and reserve any copy. We will call each copy of a book, a book item.
  4. The system should be able to retrieve information like who took a particular book or what are the books checked-out by a specific library member.
  5. There should be a maximum limit (5) on how many books a member can check-out.
  6. There should be a maximum limit (10) on how many days a member can keep a book.
  7. The system should be able to collect fines for books returned after the due date.
  8. Members should be able to reserve books that are not currently available.
1
Expert's answer
2021-11-04T16:26:25-0400
class Constants:
    def __init__(self):
          self.max_book_issued = 5
          self.max_lenging_day = 10
class Person():
    def __init__(self, p_name, p_address, p_email, p_phone):
        self.p_name = p_name
        self.p_address = p_address
        self.p_email = p_email
        self.p_phone = p_phone
class Address:
    def __init__(self, p_street, p_city, p_state, p_zip_code, p_country):
        self.p_street_address = p_street
        self.p_city = p_city
        self.p_state = p_state
        self.p_zip_code = p_zip_code
        self.p_country = p_country

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog