human
Count Distinct Rectangles in N * N Chessboard | Function to return the count of distinct rectangles.
Driver Code"
How can the above be solved in Python?

Give me a code to count Distinct Rectangles in N * N Chessboard and the other steps required?
assistant
#Here is code to count Distinct Rectangles in N * N Chessboard and the other steps required.
 def count ( N ) :
	a = 0 ;
	a = ( N * ( N + 1 ) ) / 2 ;
	return int ( a ) ;
N = 4 ;
print ( count ( N ) ) ;