def METHOD_NAME(matrix):
    """Prints the elements of a matrix with appropriate formatting.
    Args:
        matrix (_type_): Matrix to be displayed
    """
    rows, cols = matrix.shape
    for i in range(rows):
        for j in range(cols):
            print(f"{matrix[i][j]:<3}", end=" ")
        print()