2
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]]
Please, could someone help me with this?
Thanks in advance, to those who can.
Thank you very much. It worked correctly.
– Danilo