Explore a diverse range of topics and get answers from knowledgeable individuals on IDNLearn.com. Our platform provides trustworthy answers to help you make informed decisions quickly and easily.

In this lab, you use what you have learned about 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.".

Sagot :

The given python code is given below as it makes a parallel list and prints an output.

What is Python Programming?

This refers to the high-level programming language that is used to build data structures and is object-oriented.

Hence, we can see that to use a parallel list to print a program in Python:

Python zip()

list_1 = [1, 2, 3, 4]

list_2 = ['a', 'b', 'c', 'd']

for i, j in zip (list_1, list_2):

print (j)

else

print (i) "Sorry, we do not carry that.";

Read more about python programs here:

https://brainly.com/question/26497128

#SPJ1