I am a newbie user of Python. I have four lists of numbers. I would like to create a list that grabs each element from list A and B and pairs them up with every single element in lists C and D.
A=[1,2,3,4]
B=[10,20,30,40]
C=[100,200]
D=[1000,2000]
My desired output is:
1,10,100,1000
1,10,200,2000
2,20,100,1000
2,20,200,2000
3,30,100,1000
3,30,200,2000
4,40,100,1000
4,40,200,2000