Question: Python code Develop a PYTHON script for the following scenario: A Library has some books with the details like Accession number, Book Title, Authors names,
Python code

Develop a PYTHON script for the following scenario: A Library has some books with the details like Accession number, Book Title, Authors names, Price, Number of pages, Publisher, year of publication are stored. Students from all the programs can borrow a maximum of 6 books and use them for one month (30 days). Details of the student like Register number, name, gender, program (B.Tech, BCA, B.Sc, M.Tech,...), number of books in hand, fine amount if any. Develop the application to Add new books to the library (provide the following protocol while adding the books: Accession number should contain only 5 digits, book title and author name can contain only alphabets, spaces and no other special character or digit, price can have only numbers with a single decimal before the last two digits, number of pages can have only integers, year of publication can have only four digits and should not exceed current year. To issue a book to a student, after checking the number of books already taken, it should not be more than 6. To calculate the fine amount based on the following table Days Amount Rs. 1 Per day Rs. 300 Per month (30 days) Rs. 1000 For more than 30 days
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
