[Solved] Parallel Lists Summary Lab Use Learned Parallel Lists Complete Partially Completed Python Q37288834
Parallel Lists Summary In this lab, you use what you havelearned about parallel lists to complete a partially completedPython program. The program should either print the name and pricefor a coffee add-in from the Jumpin’ Jive Coffee Shop or it shouldprint the message “Sorry, we do not carry that.”. Read the problemdescription carefully before you begin. The data file provided forthis lab includes the necessary input statements. You need to writethe part of the program that searches for the name of the coffeeadd-in(s) and either prints the name and price of the add-in orprints the error message if the add-in is not found. Comments inthe code tell you where to write your statements. InstructionsStudy the prewritten code to make sure you understand it. Write thecode that searches the list for the name of the add-in ordered bythe customer. Write the code that prints the name and price of theadd-in or the error message, and then write the code that printsthe cost of the total order. Execute the program using thefollowing data and verify that the output is correct: Cream CaramelWhiskey chocolate Chocolate Cinnamon Vanilla # JumpinJava.py – Thisprogram looks up and prints the names and prices of coffee orders.# Input: Interactive # Output: Name and price of coffee orders orerror message if add-in is not found # Declare variables. NUM_ITEMS= 5 # Named constant # Initialized list of add-ins addIns =[“Cream”, “Cinnamon”, “Chocolate”, “Amaretto”, “Whiskey”] #Initialized list of add-in prices addInPrices = [.89, .25, .59,1.50, 1.75] foundIt = False # Flag variable orderTotal = 2.00 # Allorders start with a 2.00 charge # Get user input addIn =input(“Enter coffee add-in or XXX to quit: “) # Write the rest ofthe program here. Help would be appreciated.
Expert Answer
Answer to Parallel Lists Summary In this lab, you use what you have learned about parallel lists to complete a partially completed… . . .
OR

