I have an array
Numbers =[
[
[ [1], [2] ],
[ [3], [4] ],
],
[
[ [5], [6] ],
[ [7], [8] ]
]
]
I want to get the results like this
[ [ [1], [2] ],[ [3], [4] ]]
and
[ [ [5], [6] ],[ [7], [8] ]]
in Ruby.
Is that possible?
Python equivalent is
for Number in Numbers:
print Number