0
Hello, I have two matrices and I would like to concatenate them, that is, put in a third matrix the matrices A and B one next to the other, in case form a matrix 3x6, but using a loop (command "for") for this. Could you help me? Thank you.
matriz_a = [
[0, 0, 1],
[0, 1, 0],
[1, 0, 1]
]
print(matriz_a)
matriz_b = [
[2, 2, 3],
[3, 2, 2],
[3, 3, 3]
]
print(matriz_b)
"side by side" - it would be clearer if you could exemplify how this resulting matrix would be taking into account the matrix
A
andB
of the question.– Isac
I edited explaining correctly now, thank you!
– João Moreira