title: Variables evaluated to False in a tuple
body: <p>Why are the <code>inSetStates</code>, <code>inInputAlph</code> and <code>isCorrectDirection</code> variables evaluated to <code>False</code> in the following code:</p>
  
  <pre><code>class POC(object):
    def __init__(self):
      self.__set_states = (1,2,3,4,5)
      self.__input_alph = ('a','b')
      self.__directions = ('i','d')
  
    def enterTransition(self):
      while True:
        print "enter transition tuple format:"
        trans = raw_input(" Example (1,'a',2,'b','d') : ")
        inSetStates = (trans[0] in self.__set_states) and (trans[2] in self.__set_states)
        inInputAlph = (trans[1]in self.__input_alph) and (trans[3] in self.__input_alph)
        isCorrectDirection = (trans[4].lower() in self.__directions) or (trans[4].lower() in self.__directions)
        if (inSetStates and inInputAlph and isCorrectDirection):
          return trans
          break
        else:
          print "ERROR: Something is wrong"
  
  poc = POC()
  poc.enterTransition()
  </code></pre>
  
  <p>The debugger shows me that the value of the <code>three</code> is <code>False</code> with the tuple <code>(1, 'a', 2, 'b', 'd')</code>, and:</p>
  
  <pre><code>inInputAlph = False
  inSetStates = False
  isCorrectDirection = False
  self = &lt;__main__.POC object at 0x1860690&gt;
  trans = "(1,\'a\',2,\'b\',\'i\')"
  </code></pre>
  
  <p><em>Also, I've no idea what these backslashes are.</em></p>