title: Using a randomly generated array as input values to print characters from a tuple
body: <p>I am creating an <code>numpy.random.random_integers()</code> array based on user parameters of lowest integer, highest integer, and the number of the integers to be output in the array.</p>
  
  <p>I then want to use every integer in a given array to print the corresponding value from a tuple. </p>
  
  <p>Ex:</p>
  
  <pre><code>charTuple = [a,b,c,d,e,f,g]
  randIntArray = np.random.random_integers(0, len(tuple), 12)
  </code></pre>
  
  <p>However, when I go to the next step, I get confused as to how to do such a process. Although this isn't the most elegant solution, I tried this, but I get index errors when I do and subsequently do not think this way would work. </p>
  
  <pre><code>for y in randIntArray:
      print(charTuple[randIntArray[y])
  </code></pre>
  
  <p>Does anyone have a better idea for doing such a process? </p>