samedi 27 avril 2019

Providing a list of data

This is the problem: Provided is a list of data about a store’s 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 statement should read The store has 12 shoes, each for 29.99 USD.

I continue to keep getting an error though stating there is an error in the code and that I still haven't tested the output.

Aucun commentaire:

Enregistrer un commentaire