Question: use Python and explain your solution please System Specification & Problem Statement Your inventory program must support the following functions. Load the inventory from a

use Python and explain your solution please
System Specification & Problem Statement Your inventory program must support the following functions. Load the inventory from a file. This will overwrite in currently loaded inventory. Ask the user for the filename, if none is provided use "inv.text" Save the current inventory to a file. Ask the user for the filename, if none is provided use "inv.text". Print the current inventory. Update the count in the current inventory. Add a new item to the current inventory. Delete an item from the current inventory. Each item in the inventory is identified by a count and a product name. When inventory is stored in a file, each item will be in its own line as follows: 12 Printer 15 Laptop 10 LCD Screen 5 FHD LCD Screen To get full credit, your program must be follow the following guidelines. Products counts cannot be negative or non integers Product names must be unique. When reading from a file, if any line is not well formatted ignore it and print an appropriate message. When reading a line from a file, ignore any leading or trailing whitespace. Your program must never crash. Any errors or exceptions must be handled (e.g., using try/except group) or prevented from happening
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
