I have been able to develop here, you should not print spaces after the last element of each line, which causes the exercise to go wrong, does anyone know of another method?
minha_matriz= [[1,2,3],[4,5,6],[7,8,9]]
def imprime_matriz(minha_matriz):
for i in range(len(minha_matriz)):
print(end="\n")
for j in range(len(minha_matriz[i])):
print(minha_matriz[i][j], end =' ')