'Divide two Rats, returning quotient and remainder.'

def __divmod__(self, other):

    if isint(other):
        other = Rat(other)
    elif (not isRat(other)):
        return NotImplemented
    x = (self // other)
    return (x, (self - (other * x)))
