def NormalWORange(a, b, sigma):
    r = random.normalvariate(a, sigma)
if r < a:
    return r - b
else:
    return r + b
Can Python generate a random number that excludes a set of numbers, without using recursion?