Question: Improve your code design and add Interactive Inventory Query CapabilityQuery the user of an item by asking for manufacturer and item type.Print a message (
Improve your code design and add Interactive Inventory Query CapabilityQuery the user of an item by asking for manufacturer and item type.Print a message No such item in inventory if either the manufacturer or the item type is not in the inventory, more that one of either type is submitted or the combination is not in the inventory. Ignore any other words, so nice Apple computer is treated the same as Apple computer.Print Your item is: with the item ID manufacturer name, item type, and price on one line. Do not provide items that are past their service date or damaged. If there is more than one item, provide the most expensive item.Also, print You may, also, consider: and print information about the same item type from another manufacturer that closes in price to the output item. Only print this if the same item from another manufacturer is in the inventory and is not damaged nor past its service date.After output for one query, query the user again. Allow q to quit.Using Classes is MANDATORY. Using Pandas is Prohibited. Commit all your py files on GitHub. Use the same GitHub repo as in part Provide a link on Canvas. Name all your files meaningful for example FinalProjectInput.py or partpy
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
