human
Number of quadrilateral formed with N distinct points on circumference of Circle | Function to find the number of combinations in the N.
Function to find the factorial of the given number N.
Loop to find the factorial of the given number.
Driver Code.
Function Call"
How can the above be solved in Python?
assistant
#Here is code to number of quadrilateral formed with N distinct points on circumference of Circle and the other steps required.
 def nCr ( n , r ) :
	return ( fact ( n ) / ( fact ( r ) * fact ( n - r ) ) )
def fact ( n ) :
	res = 1
	for i in range ( 2 , n + 1 ) :
		res = res * i
	return res
if __name__ == " _ _ main _ _ " :
	n = 5
	print ( int ( nCr ( n , 4 ) ) )