How can the elements of two lists be paired into tuples? Not just the first element of the first list with the first element of the second list, and so on. Every element of one list has to be (individually, pairs of 2) paired with every element of the other list, and vice-versa.
So, for two lists [1,2] and [3,4], we should get [(1,3),(1,4),(2,3),(2,4)]. Ideally, I would welcome any hints/solutions that do not include list generators (if solving this through list generators is possible).
I'm aware of the zip function, but as already mentioned, every element of one list has to be paired with every element of the other list. Thanks in advance