Question: Suppose myList1 and myList2 are two lists. Write Python code that will print all pairs x, y where x is in myList1 and y is

 Suppose myList1 and myList2 are two lists. Write Python code that

Suppose myList1 and myList2 are two lists. Write Python code that will print all pairs x, y where x is in myList1 and y is in myList2, one per line and separated by a comma. For example when myList1 = ['a', 'b'] andmyList2=[l, 2], a possible output is a, 1 a, 2 b, 1 b, 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!