def ask_float_in_range(mini, maxi, prompt="Type float :"):
    """Get an float response between two float on asked question
    
    Arguments:
        mini {float} -- the minimum value for the number
        maxi {float} -- the maximum value for the number
    
    Keyword Arguments:
        prompt {str} -- the question message (default: {"Type float :"})
    
    Returns:
        float -- the input number on the range provided
    """
    try:
        answer = float(input(prompt))
        if mini <= answer <= maxi:
            return answer
        else:
            return ask_float_in_range(mini, maxi, prompt)
    except ValueError:
        return ask_float_in_range(mini, maxi, prompt)