lib.addBookItem('Theory of Machines', 'SMNQS6664A', 'TM301') lib.addBookItem('Theory of Machines', 'SMNQS6664A', 'TM302') lib.viewBooks() lib.removeBookItem('SMNQS6664A') lib.viewBooks() lib.removeBook('Theory of Machines') lib.viewBooks() member1 = Member('Aditya', 'Indore', 24, '9424534453', 'ADI942') member2 = Member('Harish', 'Indore', 25, '9791457862', 'HAR979') print(member2) member1.viewBooks() member1.reserveBook('Thermodynamics') member2.reserveBook('Machine Design') member1.viewBooks() lib.viewissuedBookItems() lib.viewIssuerInfo() member1.returnBook() member2.returnBook() member1.viewBooks() member2.issuedBook('Thermodynamics') lib.addMember('Mayur', 'Indore', '23', '9179030140', 'MAY917') lib.viewMembers() lib.searchMember('Mayur') lib.removeMember('Harish') member1.reserveBook('Machine Design')
member2 = Member("Nitin", "Mumbai", 23, "DCBA4321", "STUD8765") print(member2) member1.viewBooks() member1.searchByTitle("Kafka On The Shore") member1.searchByTitle("Rich Dad Poor Dad") member1.searchByAuthor("Phil Knight") member1.searchByAuthor("Robert Kiyosaki") member1.searchByCategory("Fiction") member1.searchByCategory("Self Help") member1.searchByPublicationDate("2015") member1.searchByPublicationDate("2013") member1.reserveBook("Shoe Dog") member2.reserveBook("Kafka On The Shore") member1.viewBooks() lib.viewReservedBookItems() lib.viewIssuerInfo() member1.returnBook() member2.returnBook() member1.viewBooks() member2.reserveBook("Kafka On The Shore") member2.extendDates() lib.addMember("Mukesh", "Mumbai", "23", "PQRS6789", "STUD6789") lib.viewMembers() lib.searchMember("Mukesh") lib.removeMember("Niel") member1.reserveBook("Kafka On The Shore")