# I really need help with this one

I have 4 lists like this a=[4,9,2] b=[7,8,10] c=[1,3,11] d=[0,5,6] From these 4 lists I want to create one that has one number from a, then one number from b, then one from c, and finally one from d firstnumber= a [random.randint(0,2)] secondnumer= b [random.randint(0,2)] thirdnumber=c[random.randint(0,2)] fourthnumber=d [random.randint(0,2)] randomlist=[firstnumber,secondnumber,thirdnumber,fourthnumber] Now, until this point I have no problem, everytime I run the program I get one possible combination of a list that meets these requirements. But what if I wanted to get all possible combinations of randomlist? How can I code that? Ive tried with combination within the itertools module but I had no success. If anyone could help me it would be great. Thanks