def validate_option(option, min_value, max_value):
    """
    Validates whether an option number is in the accepted interval (between
    min_value and max_value)
    """
    if (option >= min_value and option <= max_value):
        return True
    else:
        print("\nNot a valid option!")
        print(f'Only numbers between {min_value} and {max_value} are valid.\n')
        return False