Skip to main content

Module count_range_integer

Module count_range_integer 

Source

Functionsยง

count_closed_range_integer_endpoints
Integer closed_range(a, b) has max(0, b - a + 1) points; non-integer endpoints yield None.
count_half_open_range_integer_endpoints
Integer range(a, b) is half-open [a, b); size max(0, b - a) when b > a.