I looked over Python Docs (I may have misunderstood), but I didn\'t see that there was a way to do this (look below) without calling a recursive function. What I\'d like
Use random.choice(). In this example, a is your lower bound, the range between b and c is skipped and d is your upper bound.
import random numbers = range(a,b) + range(c,d) r = random.choice(numbers)