Question: You work for a small retail store that keeps track of their inventory using a text file called inventory.txt . Each line in the file
You work for a small retail store that keeps track of their inventory using a text file called inventory.txt Each line in the file represents a different item in the store's inventory, with the follow format:AllinonePC, labtop,hpprinter, scanners, mouse, keyboard, Your manager has asked you to write a Python script that does the following:Reads in the current inventory from the inventory.txt fileAllow the user to search for an item by name and displays its current quantity and priceAllows the use to update the quantity of an item in the inventorySaves the uploaded inventory back to the inventory.txt file
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
