БГ
Я не устраивал
Size: a a a
БГ
БГ
from operator import add
def matrix_add(lmatrix, rmatrix):
result = []
for lists in zip(lmatrix, rmatrix):
row = []
for items in zip(*lists):
row.append(add(*items))
result.append(row)
return result
БГ
VA
БГ
VA
БГ
L
L
БГ
AT
from operator import add
def matrix_add(lmatrix, rmatrix):
result = []
for lists in zip(lmatrix, rmatrix):
row = []
for items in zip(*lists):
row.append(add(*items))
result.append(row)
return result
L
БГ
БГ
БГ
AT
t
L