Programming Examples
Python program that repeatedly asks the user to enter product names and prices
Write a program that repeatedly asks the user to enter product names and prices. Store all of these in a dictionary whose keys are the product names and whose values are the price .
When the user is done entering products and price, allow them to repeatedly enter a product name and print the corresponding price or a message if the product is not in dictionary.
Output/ Explanation: