#!/usr/bin/env python3
""" Add 2D matrix """
add_arrays = __import__('4-line_up').add_arrays
matrix_shape = __import__('2-size_me_please').matrix_shape


def add_matrices2D(mat1, mat2):
    """ Add a 2D matrix """
    if matrix_shape(mat1) != matrix_shape(mat2):
        return None
    shape = matrix_shape(mat1)
    matrix = []
    for axis1, axis2 in zip(mat1, mat2):
        matrix.append(add_arrays(axis1, axis2))
    return matrix

964290b4ff35771cc04d0e60ec0812630fe23061
<mask token>

<mask token>


def add_matrices2D(mat1, mat2):
    """ Add a 2D matrix """
    if matrix_shape(mat1) != matrix_shape(mat2):
        return None
    shape = matrix_shape(mat1)
    matrix = []
    for axis1, axis2 in zip(mat1, mat2):
        matrix.append(add_arrays(axis1, axis2))
    return matrix

<mask token>
add_arrays = __import__('4-line_up').add_arrays
matrix_shape = __import__('2-size_me_please').matrix_shape


def add_matrices2D(mat1, mat2):
    """ Add a 2D matrix """
    if matrix_shape(mat1) != matrix_shape(mat2):
        return None
    shape = matrix_shape(mat1)
    matrix = []
    for axis1, axis2 in zip(mat1, mat2):
        matrix.append(add_arrays(axis1, axis2))
    return matrix

#!/usr/bin/env python3
""" Add 2D matrix """
add_arrays = __import__('4-line_up').add_arrays
matrix_shape = __import__('2-size_me_please').matrix_shape


def add_matrices2D(mat1, mat2):
    """ Add a 2D matrix """
    if matrix_shape(mat1) != matrix_shape(mat2):
        return None
    shape = matrix_shape(mat1)
    matrix = []
    for axis1, axis2 in zip(mat1, mat2):
        matrix.append(add_arrays(axis1, axis2))
    return matrix
