Hi all,
I am trying to do something simple with 2 lists, but can’t manage to do it.
I have two lists:
[0, 1, 2, 3] (always 4 integers)
[0, 1, 2, 3, 4, 5] (anything between 5 and 20)
Output should be one list
[0,0] [0,1] [0,2] [0,3];
[1,0] [1,1] [1,2] [1,3];
…
[5,0] [5,1] [5,2] [5,3];
so it should create a coordinate-like list, filling every item of the second list, with all items of the first list.
Sort of like creating a grid.
I hope it’s clear what I need?