This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| author: Sai Ramana P B | |
| email: [email protected] | |
| Problem: Book Inventory Management | |
| You are tasked with developing a program to manage a bookstore's inventory using dictionaries and lists. The program should allow the user to perform the following operations: | |
| 1. Add a book: The user should be able to enter the details of a book (title, author, genre, and quantity) and add it to the inventory. | |
| 2. Search for a book: Given a book title, the program should search the inventory and display the details of the book if it exists, including the quantity available. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| author: Sai Ramana P B | |
| email: [email protected] | |
| Problem: Book Inventory Management | |
| You are tasked with developing a program to manage a bookstore's inventory using dictionaries and lists. The program should allow the user to perform the following operations: | |
| 1. Add a book: The user should be able to enter the details of a book (title, author, genre, and quantity) and add it to the inventory. | |
| 2. Search for a book: Given a book title, the program should search the inventory and display the details of the book if it exists, including the quantity available. |