def between(arg, interval):
    """
    Computes whether a given number is between a given interval or not.
    
    Parameters
    ----------
        arg: scalar
            Number to be evaluated.
        
        interval: tuple
            Interval in which perform the evaluation.            
            
    Returns
    -------
        result: bool
            If arg is between interval, result=True, and result=False in other
            case.
            
    """
    
    if arg>=interval[0] and arg<=interval[1]:
        result=True
    else:
        result=False
    
    return(result)