title: Randomness algorithm in python that integrates a demi-Gaussian curve?
body: <p>Currently, python has this integrated random algorithm:</p>
  
  <blockquote>
    <p>random.randint(0,x)</p>
  </blockquote>
  
  <p>This function generates a random number from 0 to x. So far so good. The thing is, I want this algorithm to work in a way, that 0 has a larger chance to fall, then one, then all the way up to x, like an half Gaussian curve, where instead of the average being in the center, 0 is. Also I was thinking of an exponential decrease rather than linear. Do such algorithms exist in python?</p>