I’m sure this is easy for an expert, but I’ve thought about it and I can’t find a suitable solution to convert the first array into the second with only python statements without using any support library… any suggestions?
first=[[1,2],[3,4],[5,6]]
second=[[1,3,5],[1,3,6],[1,4,5],[1,4,6],[2,3,5],[2,3,6],[2,4,5],[2,4,6]]
Change dimension of array in Python without using any library.