title: First Python program, "lotto prediction"
body: <p>I am new to python and trying to learn it quickly by messing around.  So I decided to make a lotto program.  Its pick 3, numbers 0-9, Choose three numbers from 0-0-0 to 9-9-9. I would like to add all numbers that has been called in the past to a variable or tuple. This variable or tuple is checked before printing results.  This is what i got so far.</p>
  
  <pre><code>    import random
      items = range (10)
      random.sample([items]), 3
      [4, 0, 2]    # result
  </code></pre>
  
  <p>How do I setup a variable with the numbers results of past draw and print results based on most called?</p>
  
  <p>Any help would be appreciated.</p>
  
  <p>thanks  </p>