Create a program wherein the system should be able to retrieve information like who took a particular book or what are the books checked-out by a specific user.
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
Comments
Leave a comment