Question: This is for python 3.5.2 version. You will create a program that will take comma delimited input for the inventory of a small computer store.
This is for python 3.5.2 version.
You will create a program that will take comma delimited input for the inventory of a small computer store. Information stored in the comma delimited file include the product name, # of items on hand, and wholesale cost. Extend the value of each item and provide the total value of the inventory. A file with input and expected output is attached.
Make sure you strip all leading and following spaces. Use conversion specifiers, flags and field width specifiers as needed.
Use internal documentation, good prompts to the user, and meaningful variable.
These are input and output.
Input CD-R 100 disc, 25, 14.00 ,DVD-R 50 disc,10, 10.00 , HDMI cable 3ft,12, 4.00 ,Flash Drive 32GB ,16, 9.00 , Laptop Cooling Pad ,10, 25.00
Ending display: CD-R 100 disc 25 14.00 $350.00 DVD-R 50 disc 10 10.00 $100.00 HDMI cable 3ft 12 4.00 $48.00 Flash Drive 32GB 16 9.00 $144.00 Laptop Cooling Pad 10 25.00 $250.00 The total value of the inventory is $892.00.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
