Inclass Test 03
Inclass Test 03
Develop a Python application for a simple inventory management system for a small store.
The system should allow the user to add, remove, update, and display inventory items. Each
inventory item will have a name, quantity, and price.
Requirements:
dictionary with keys: 'name', 'quantity', and 'price'. o Initialize the list with a few sample
items.
2. Main Menu:
o Display a main menu with options to:
1. Add a new item 2. Remove an item 3. Update an item 4. Display all items 5. Exit
4. Removing an Item:
o Prompt the user for the name of the item to be removed.
o Remove the item from the inventory list if it exists. If the item does not exist,
o Show the item name, quantity, and price. 7. Exiting the Application: