title: Bimodal distribution in C or Python
body: <p>What's the easiest way to generate random values according to a bimodal distribution in C or Python?</p>
  
  <p>I could implement something like the Ziggurat algorithm or a Box-Muller transform, but if there's a ready-to-use library, or a simpler algorithm I don't know about, that'd be better.</p>