def _intenger_validator(x, function):
    message = (function + ' must be positive intenger')
    if (isinstance(x, int) and (x > 0)):
        return x
    raise TypeError(message)
def _intenger_validator(x, function):
    message = (function + ' must be positive intenger')
    if (isinstance(x, int) and (x > 0)):
        return x
    raise TypeError(message)