def within_range_list(num, range_list):
 return any((((num >= min_) and (num <= max_)) for (min_, max_) in range_list))

def within_range_list ( num , range_list ) : return any ( ( ( ( num >= min_ ) and ( num <= max_ ) ) for ( min_ , max_ ) in range_list ) )
float range test .