Question: 
Write a function to check for the number of jumps required of given length to reach a point of form (d, 0) from origin in a 2d plane.


Model's Code:
def min_Jumps(x, y, d):
    distance = (x**2 + y**2)**0.5
    return distance / d if distance % d == 0 else distance / d + 0.5



Sample Correct Code:
def min_Jumps(a, b, d): 
    temp = a 
    a = min(a, b) 
    b = max(temp, b) 
    if (d >= b): 
        return (d + b - 1) / b 
    if (d == 0): 
        return 0
    if (d == a): 
        return 1
    else:
        return 2


Asserts:
assert min_Jumps(3,4,11)==3.5
assert min_Jumps(3,4,0)==0
assert min_Jumps(11,14,11)==1


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

Test 617 of 974: 459/617 (74.39222042139384%): failed