let's say i have 2 lists like below:
list1=[[1],[2],[3]]
list2=[[4],[5]]
What i would like to do is cross product between the list items in these two lists.In this example the result would be :
result_list=[[1,4],[1,5],[2,4],[2,5],[3,4],[3,5]]
How could this be done using python ? i have searched online for a bit but i can't find a solution and i've been stuck.Any help would be very welcome.
Thanks in advance!!