def distance(self, piecex, piecey):
        '''Return the distance of chess piece X and Y (Chebyshev Distance)'''
        return max(abs(piecex[0] - piecey[0]), abs(piecex[1], piecey[1]))
def distance ( self , piecex , piecey ) : return max ( abs ( piecex [ 0 ] - piecey [ 0 ] ) , abs ( piecex [ 1 ] , piecey [ 1 ] ) )
Return the distance of chess piece X and Y (Chebyshev Distance)