Question: write the following code in Python 3. Also, please write code and not psedo-code. 2. Please also share your code and show all outputs. Provided

write the following code in Python 3. Also, please write code and not psedo-code.

2. Please also share your code and show all outputs.

Provided is a list of data about a stores inventory where each item in the list represents the name of an item, how much is in stock, and how much it costs. Print out each item in the list with the same formatting, using the .format method (not string concatenation). For example, the first print statment should read The store has 12 shoes, each for 29.99 USD.

PLEASE USE THIS BELOW. ALSO THIS ONE NEED .format output and PLEAS SHOW ALL OUPUT

inventory = ["shoes, 12, 29.99", "shirts, 20, 9.99", "sweatpants, 25, 15.00", "scarves, 13, 7.75"]

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!