def validate_number(num, low, high):
    """
    Takes user input as a string and validates that it is 
    an integer between low and high
    """
    try:
        num = int(num)
    except ValueError:
        return False

    if num < low or num > high:
        return False
    return True