def within_range_list(num, range_list):
    return any(num >= min_ and num <= max_ for min_, max_ in range_list)
Float range test.  This is the callback for the "within" operator
dataset/ETHPy150Open lad1337/XDM/site-packages/babel/plural.py/within_range_list