I am trying to create for loop for submatrix, let say
matrix = [
[1, 0, 1, 3],
[0, 2, 2, 2],
[1, 2, 3, 4],
[1, 2, 3, 4]
]
I want to print submatrix from matrix[2][3] to matrix[4][4] where index start at 1.
Output what i expect -
[2, 2]
[3, 4]
[3, 4]