##The lists below are organized in such a way ##that the item at position 0 in the first list ##matches with the item at position 0 in the ##second list. With this in mind, write a product ##price lookup program. # lists products = ['peanut butter', 'jelly', 'bread'] prices = [3.99, 2.99, 1.99] # ask the user for an item item = input("For which item would you like me to check the price? ") # check if the item exists in our list if item in products: # find the corresponding index of the item loc = products.index(item) # get the corresponding price of the item print("The price of ", item, " is $", prices[loc], sep = "") else: print("Sorry we don't have that item")