I need a way to get all the possible combonations of two lists. I looked into map(), but it only loops through the first array. I tried to do a map function inside a map function, but I couldnt figure out how. Heres an example:
>>> a=[1,2]
>>> b=[3,4]
>>> functionToGetCombonations(a,b)
[1,3]
[1,4]
[2,3]
[2,4]
Thanks in advance