human
Count of triples ( A , B , C ) where A * C is greater than B * B | function to return the count of the valid triplets.
Driver Code.
function calling"
How can the above be solved in Python?
assistant
#Here is code to count of triples ( A , B , C ) where A * C is greater than B * B and the other steps required.
 def countTriplets ( A , B , C ) :
	ans = 0
	for i in range ( 1 , A + 1 ) :
		for j in range ( 1 , B + 1 ) :
			for k in range ( 1 , C + 1 ) :
				if ( i * k > j * j ) :
					ans += 1
	return ans
A = 3
B = 2
C = 2
print ( countTriplets ( A , B , C ) )