I have 3 lists as below:
list1 = [a,b,c]
list2=[1,3,5]
list3 =[d,e,f]
I want output like below: [a1d,a1e,a1f,a3d,a3e,a3f,a5d,a5e,a5f,b1d,b1e,b1f,b3e,b3d,b3f and so on]
I tried using itertools but not getting what I want. Please tell what can be used. As mentioned in combinations between two lists?