human
Check whether one root of the Quadratic Equation is twice of other or not | Function to find the required answer.
Driver code"
How can the above be solved in Python?
 Can you provide a code to check whether one root of the Quadratic Equation is twice of other or not and the other steps required?
assistant
#Here is code to check whether one root of the Quadratic Equation is twice of other or not and the other steps required.
 def checkSolution ( a , b , c ) :
	if ( 2 * b * b == 9 * a * c ) :
		print ( " Yes " ) ;
	else :
		print ( " No " ) ;
a = 1 ; b = 3 ; c = 2 ;
checkSolution ( a , b , c ) ;