-
I have a vector with the following values:
a = [10, 20, 30, 40, 50, 60, 70, 80]
-
I need to create 2D vector with these values. For example, it would have to look like this:
b = [[10, 20], [30,40], [50,60], [70,80]]
Could someone please help me with this?
Thanks in advance, to those who can.