The assigment was to: Use parallel lists to complete a partially completed Python program. The program should either print the name and price for a coffee add-in from the Jumpin’ Jive Coffee Shop or it should print the message "Sorry, we do not carry that.". Write the code that searches the list for the name of the add-in ordered by the customer. Write the code that prints the name and price of the add-in or the error message, and then write the code that prints the cost of the total order. Execute the program using the following data and verify that the output is correct:Cream Caramel Whiskey chocolate Chocolate Cinnamon Vanilla I have completed the code for the program and everything checks out good except one part. What is the error in the code or what can be changed to produce the right output? See image for details
The assigment was to: Use parallel lists to complete a partially completed Python program. The program should either print the name and price for a coffee add-in from the Jumpin’ Jive Coffee Shop or it should print the message "Sorry, we do not carry that.". Write the code that searches the list for the name of the add-in ordered by the customer. Write the code that prints the name and price of the add-in or the error message, and then write the code that prints the cost of the total order. Execute the program using the following data and verify that the output is correct:Cream Caramel Whiskey chocolate Chocolate Cinnamon Vanilla I have completed the code for the program and everything checks out good except one part. What is the error in the code or what can be changed to produce the right output? See image for details
Chapter8: Arrays
Section: Chapter Questions
Problem 9PE
Related questions
Question
The assigment was to:
Use parallel lists to complete a partially completed Python
The program should either print the name and price for a coffee add-in from the Jumpin’ Jive Coffee Shop or it should print the message "Sorry, we do not carry that.".
- Write the code that searches the list for the name of the add-in ordered by the customer.
- Write the code that prints the name and price of the add-in or the error message, and then write the code that prints the cost of the total order.
- Execute the program using the following data and verify that the output is correct:Cream Caramel Whiskey chocolate Chocolate Cinnamon Vanilla
I have completed the code for the program and everything checks out good except one part. What is the error in the code or what can be changed to produce the right output? See image for details
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 3 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,