This method, which is supposed to return the result of dividing its first argument by its second, isn't always returning correct values. Fix it.
def divide_numbers(x,y):
return x / y
def divide_numbers(x,y):
return x / float(y)
This method, which is supposed to return the result of dividing its first argument by its second, isn't always returning correct values. Fix it.
def divide_numbers(x,y):
return x / y
def divide_numbers(x,y):
return x / float(y)