title: python random.randint vs random.choice: different outcomes usingsame values
body: <p>I asked my students to write a python program in which the results of 100 rolls of a pair of 6-sided dice were stored in a list and then plotted in a histogram. </p>
  
  <p>I was treating <code>random.choice(1,2,3,4,5,6)</code> as inferior to <code>random.randint(1,6)</code>, until I noticed that the histograms of the students who used <code>random.choice</code> better reflected expected outcomes. For example, the occurrence of rolls of 12 (6+6) was unnaturally high in nearly all histograms of students who used <code>random.randint(1,6)</code>. Does anyone have an idea of what's going on? </p>