def integer_range_checker(x):
    i = int(x)
    if ((i < minimum_val) or (i > maximum_val)):
        raise ValueError(('Integer must be between %d and %d' % (minimum_val, maximum_val)))
    return x
def integer_range_checker(x):
    i = int(x)
    if ((i < minimum_val) or (i > maximum_val)):
        raise ValueError(('Integer must be between %d and %d' % (minimum_val, maximum_val)))
    return x