Question: Using python 3.7.2 create a program that creates a file of inventory items in a clothing store. Use a loop to store three merchandise items

Using python 3.7.2 create a program that creates a file of inventory items in a clothing store. Use a loop to store three merchandise items to file. The file should contain three data for each item, each datum on its own line in the file:

  • the name of the item
  • the unit price of the item
  • the quantity in stock for the item

using python 3.7.2 this program reads the file created by program6_1.py above. It should output the item name, unit price, quantity, and calculated inventory value for all items on file. After all items have been processed, the program should display the total value of the inventory and identify the most valuable inventory item. See Sample Output below. Sample Output

Using python 3.7.2 create a program that creates a file of inventory

Item:shirt inventory value $299.88 Item: hat inventory value $399.00 Item: shorts inventory value $449.85 Total value of inventory is $1,148.73 Most valuable inventory item: shorts Three items were added to stock

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!