title: Type error: Tuple indices must be integers, not tuple
body: <p>I am trying to get this method to work, but it won't.</p>
  
  <p>Relevant code:</p>
  
  <pre><code>for (i, t) in enumerate(transitions[location]):
      print i+1, t[0]
  actionChoice=int(raw_input("&gt; "))
  console.clear()
  transitions=transitions[location][actionChoice-1]
  </code></pre>
  
  <p>I get the Type Error: tuple indices must be integers, not tuple</p>
  
  <p>Where should I fix it? What does it mean?</p>