human
Program to find number of solutions in Quadratic Equation | function to check for solutions of equations.
If the expression is greater than 0 , then 2 solutions.
If the expression is equal 0 , then 1 solutions.
Else no solutions.
Driver code"
How can the above be solved in Python?

=====
What is a code to program to find number of solutions in Quadratic Equation and the other steps required?
assistant
#Here is code to program to find number of solutions in Quadratic Equation and the other steps required.
 def checkSolution ( a , b , c ) :
	if ( ( b * b ) - ( 4 * a * c ) ) > 0 :
		print ( "2 ▁ solutions " )
	elif ( ( b * b ) - ( 4 * a * c ) ) == 0 :
		print ( "1 ▁ solution " )
	else :
		print ( " No ▁ solutions " )
if __name__ == " _ _ main _ _ " :
	a , b , c = 2 , 5 , 2
	checkSolution ( a , b , c )