Question: Write a menu driven program in python that depicts the following library operations. There should be a book class with instance variables (price, author and

Write a menu driven program in python that depicts the following library operations. There should be a book class with instance variables (price, author and any other attributes which are suitable).The menu options should be: 1. Add book information 2. Display book information 3. List all books of given author 4. Return the sum, average, maximum and minimum of book prices stored in your file. 6. Exit Each menu should call separate function to perform an operation. For option 1, 2 and 3, you must use file handling.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!