human
Find maximum unreachable height using two ladders | Function to return the maximum height which can 't be reached.
Driver code"
Solution in Python:
assistant
#Here is code to find maximum unreachable height using two ladders and the other steps required.
 def maxHeight ( h1 , h2 ) :
	return ( ( h1 * h2 ) - h1 - h2 )
h1 = 7
h2 = 5
print ( max ( 0 , maxHeight ( h1 , h2 ) ) )