human
Find the number of cells in the table contains X | Function to find number of cells in the table contains X.
Driver code.
Function call"
How can the above be solved in Python?

Write me a code to find the number of cells in the table contains X and the other steps required?
assistant
#Here is code to find the number of cells in the table contains X and the other steps required.
 def Cells ( n , x ) :
	ans = 0 ;
	for i in range ( 1 , n + 1 ) :
		if ( x % i == 0 and x / i <= n ) :
			ans += 1 ;
	return ans ;
if __name__ == ' _ _ main _ _ ' :
	n = 6 ; x = 12 ;
	print ( Cells ( n , x ) ) ;