def imprime_matriz(minha_matriz):
for linha in minha_matriz:
print(' '.join(str(i) for i in linha))
minha_matriz= [[1,2,3],[4,5,6],[7,8,9]]
imprime_matriz(minha_matriz)
ZGVmIGltcHJpbWVfbWF0cml6KG1pbmhhX21hdHJpeik6CiAgICAgIGZvciBsaW5oYSBpbiBtaW5oYV9tYXRyaXo6CiAgICAgIAlwcmludCgnICcuam9pbihzdHIoaSkgZm9yIGkgaW4gbGluaGEpKQoKCm1pbmhhX21hdHJpej0gW1sxLDIsM10sWzQsNSw2XSxbNyw4LDldXSAgICAgICAgICAgICAgICAgICAgICAgICAgICAKaW1wcmltZV9tYXRyaXoobWluaGFfbWF0cml6KQ==