human
Check if a point is inside , outside or on the parabola | Function to check the point.
checking the equation of parabola with the given point.
Driver code"
How can the above be solved in Python?

Can you provide a code to check if a point is inside , outside or on the parabola and the other steps required?
assistant
#Here is code to check if a point is inside , outside or on the parabola and the other steps required.
 def checkpoint ( h , k , x , y , a ) :
	p = pow ( ( y - k ) , 2 ) - 4 * a * ( x - h )
	return p
if __name__ == " _ _ main _ _ " :
	h = 0
	k = 0
	x = 2
	y = 1
	a = 4
	if checkpoint ( h , k , x , y , a ) > 0 :
		print ( " Outside " )
	elif checkpoint ( h , k , x , y , a ) == 0 :
		print ( " On the parabola " )
	else :
		print ( " Inside " ) ;