I was wondering how in Mathematica to start with two lists f=[1,2,3] g=[4,5,6] and find the list h= f X g which contains all possible pairs {a,b} such that a is an element of f and b is an element of g.
I was wondering how in Mathematica to start with two lists f=[1,2,3] g=[4,5,6] and find the list h= f X g which contains all possible pairs {a,b} such that a is an element of f and b is an element of g.