Question: 7. Print out a list of lists pairing the elements, at each index, from four separate lists. For example, given the lists ids =

7. Print out a list of lists pairing the elements, at each 

7. Print out a list of lists pairing the elements, at each index, from four separate lists. For example, given the lists ids = [1,2,3] course_number = ['EC04421', 'EC04932', 'EC04903'] course_name = ['Econometrics', 'Topics in Theory', 'Seminar'] course_prof = ['P.Bidarkota', 'D.Yilmaz kuday', 'J.Bull'] your code should print the single list [(1, 'EC04421', 'Econometrics', 'P.Bidarkota'), (2, 'EC04932', 'Topics in Theory', 'D.Yilmaz kuday'), (3, 'EC04903', 'Seminar', 'J.Bull')]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

You can achieve this by using the zip function to it... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!