Compute their cartesian product axb of two lists each list


Question: Assignment Instructions

Compute their Cartesian product, AxB of two listsEach list has no more than 10 numbers.

For example, given the two input lists:
A = [1,2]
B = [3,4]
then the Cartesian product output should be:
AxB = [(1,3),(1,4),(2,3),(2,4)]

Any information will help.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Compute their cartesian product axb of two lists each list
Reference No:- TGS02694465

Now Priced at $10 (50% Discount)

Recommended (93%)

Rated (4.5/5)