I am having issues with creating this program I don't know whether I should use elif or something else. it's very urgent please help !!!
here is the question: In the cell below, use the try/except control structure to create a program which looks up a price in a dictionary.
shop_prices = { 'eggs': 1.99, 'milk': 0.99, 'ham': 4.99, }
Aucun commentaire:
Enregistrer un commentaire