def ran_check(num, low, high):
    """
    Write a function that checks whether a number is in a given range
    (inclusive of high and low)
    ran_check(5,2,7)-> 5 is in the range between 2 and 7
    """
    if num in range(low, high + 1):
        return '{} is in the range between {} and {}'.format(num, low, high)
    else:
        return 'The number is outside the range'