(exclusive_upper_bound)
return _sysrand._randbelow(exclusive_upper_bound)
Return a random int in the range [0, n).
Return a random int in the range [0, n).
Return a random int in the range [ 0 n ) .
def randbelow(exclusive_upper_bound):
    """Return a random int in the range [0, n)."""
    if exclusive_upper_bound <= 0:
        raise ValueError("Upper bound must be positive.")
    return _sysrand._randbelow(exclusive_upper_bound)
def randbelow ( exclusive_upper_bound ) : if exclusive_upper_bound <= 0 : raise ValueError ( "Upper bound must be positive." ) return _sysrand . _randbelow ( exclusive_upper_bound )