title: Why does this snippet of code return one answer but sometimes two?
body: <p>New Python programmer here.  I'm trying to make a rock, paper, scissors game and I'm wondering why this code returns usually one answer but sometimes two.  I'm trying to make it print one answer for <code>choices1</code> and one for <code>choices2</code>.</p>
  <p>Many thanks in advance :)</p>
  <pre class="lang-py prettyprint-override"><code>from random import randint
      
  
  
  choices1 = ['rock', 'paper', 'scissors']
  choices2 = ['rock', 'paper', 'scissors']
  
  if randint(0,3) == 0:
      print(choices1[0])
  
  elif randint(0,3) == 1:
      print(choices1[1])
  
  elif randint(0,3) == 2:
      print(choices1[2])
  
  
  pass
  
  
  if randint(0,3) == 0:
      print(choices2[0])
  
  elif randint(0,3) == 1:
      print(choices2[1])
  
  elif randint(0,3) == 2:
      print(choices2[2])
  </code></pre>