Question: 
Write a python function to check if roots of a quadratic equation are reciprocal of each other or not.


Model's Code:
def Check_Solution(a, b, c):
    if a == 0:
        return "No"
    discriminant = b**2 - 4*a*c
    if discriminant < 0:
        return "No"
    root1 = (-b + discriminant**0.5) / (2*a)
    root2 = (-b - discriminant**0.5) / (2*a)
    return "Yes" if root1 * root2 == 1 else "No"



Sample Correct Code:
def Check_Solution(a,b,c): 
    if (a == c): 
        return ("Yes"); 
    else: 
        return ("No"); 


Asserts:
assert Check_Solution(2,0,2) == "Yes"
assert Check_Solution(2,-5,2) == "Yes"
assert Check_Solution(1,2,3) == "No"


Tests:
Test 1 of 3: FAIL: AssertionError()

Test 636 of 974: 474/636 (74.52830188679245%): failed