Grid/__init__.py
def matrix2d_rotate_square(n, i, j):
    '''
    matrix2d_rotate_square
    ======================
    rotate square matrix 90 degrees anti-clockwise.
    '''
    return n-j-1, i

    matrix2d_rotate_square
    ======================
    rotate square matrix 90 degrees anti-clockwise.
    
matrix2d_rotate_square
rotate square matrix 90 degrees anti-clockwise.
matrix2d_rotate_square rotate square matrix 90 degrees anti - clockwise .
def matrix2d_rotate_square(n, i, j):
    return n-j-1, i
def matrix2d_rotate_square ( n , i , j ) : return n - j - 1 , i
matrix2d_rotate_square
rotate square matrix 90 degrees anti-clockwise.
matrix2d_rotate_square rotate square matrix 90 degrees anti - clockwise .
'''
    matrix2d_rotate_square
    ======================
    rotate square matrix 90 degrees anti-clockwise.
    '''
n
i
j