title: How does a randrange() function work?
body: <p>I've been wondering exactly how the random.randrange() function in python returns
  a value  with a uniform bias across a range which is not a power of two (which is easy as N bits are produced at random)</p>
  
  <p>Thanks in advance!</p>