human
Find the maximum number of handshakes | Calculating the maximum number of handshake using derived formula ..
Driver Code"
Solution in Python:
 What is a code to find the maximum number of handshakes and the other steps required?
assistant
#Here is code to find the maximum number of handshakes and the other steps required.
 def maxHandshake ( n ) :
	return int ( ( n * ( n - 1 ) ) / 2 )
n = 10
print ( maxHandshake ( n ) )