title: Park Miller algorithm (python 3)
body: <p>I'm trying to generate random numbers using the park-miller algorithm. I know that the general idea should be:</p>
  
  <pre><code>seed = (16807*seed) % (2147483947)
  </code></pre>
  
  <p>but I am not sure how I would actually implement this into python. How would I specify returning a number from say 0-9?</p>