Question: PYTHON PROBLEM Please help on this. Really stuck. Lets say we have a warehouse checking inventory to make a product. We have parts ID as

PYTHON PROBLEM

Please help on this. Really stuck. Lets say we have a warehouse checking inventory to make a product.

We have parts ID as follows: partsID = "ABC"

Then we have a product that is made up of these parts. productCode = "ABBB"

We input the quantity of product to make. quantityToMake = 2

This means we need to make 2 of "ABBB"

We have an inventory dictionary:

inventory={"A": 1, "B": 20, "C": 100}

I need to show output as follows:

1 product ABBB made at current inventory level. 1 outstanding.

Your help is much appreciated.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!