Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PLEASE HELP ME.....USING PYTHON ONLY - WILL BE GREAT IF THERE ARE COMMENTS FOR ME TO LEARN FROM Apply and employ structured programming and write

PLEASE HELP ME.....USING PYTHON ONLY - WILL BE GREAT IF THERE ARE COMMENTS FOR ME TO LEARN FROM

Apply and employ structured programming and write an application to manage the factory. Other than the data specified in Q2(b), you may use collections of any types for other data in your application. However, you should assume that the user input for product code is not sorted alphabetically.

(b) Initialise the following program data in your main method (that is, these variables are not global variables):

The stock level for each partis100at the start of the application.startLevel = 100

The reorder point for each part is 20. Once the stock level is 20 or below, the part should be reordered.reorderpoint = 20

A string records the letters A L. One letter is used to identify a part in the factory................partIds = 'ABCDEFGHIJKL'

An un-nested list records the stock level of each part. The stock level for each part starts with the value recorded instartLevel. For example, the stock level for part A should be recorded at the 0-index, stock level for part B should be recorded at the 1-index, etc.

Use another un-nested list to store existing product codes. Start the list empty.

PART (A) - https://www.chegg.com/homework-help/questions-and-answers/please-help-using-python-great-comments-learn-factory-makes-products-using-parts-identifie-q69534751?trackid=dXbsbX4J

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning VB 2008 Databases

Authors: Vidya Vrat Agarwal, James Huddleston

1st Edition

1590599470, 978-1590599471

Students also viewed these Databases questions

Question

=+4 What are non-union workers representations?

Answered: 1 week ago