Question: 
Write a python function to find whether the given number is present in the infinite sequence or not.


Model's Code:
def does_Contain_B(A, B, C):
    if C == 0:
        return A == B
    if (B - A) % C == 0 and (B - A) // C >= 0:
        return True
    return False



Sample Correct Code:
def does_Contain_B(a,b,c): 
    if (a == b): 
        return True
    if ((b - a) * c > 0 and (b - a) % c == 0): 
        return True
    return False


Asserts:
assert does_Contain_B(1,7,3) == True
assert does_Contain_B(1,-3,5) == False
assert does_Contain_B(3,2,5) == False


Tests:
Test 1 of 3: PASS
Test 2 of 3: PASS
Test 3 of 3: PASS

Test 150 of 974: 108/150 (72.0%): success