title: if 'a' or 'b' in L, where L is a list (Python)
body: <p>I am having trouble with the following logic:</p>
  
  <p>Lets say I have a list <code>L = ['a', 'b', 'c']</code></p>
  
  <hr>
  
  <p>Both items are in the list...</p>
  
  <pre><code>if ('a' or 'b') in L:
      print 'it\'s there!'
  else:
      print 'No sorry'
  </code></pre>
  
  <p>prints <code>It's there!</code></p>
  
  <hr>
  
  <p>Only the first item is in the list...</p>
  
  <pre><code>if ('a' or 'd') in L:
      print 'it\'s there!'
  else:
      print 'No sorry'
  </code></pre>
  
  <p>prints <code>It's there!</code></p>
  
  <hr>
  
  <p>Neither item in the list...</p>
  
  <pre><code>if ('e' or 'd') in L:
      print 'it\'s there!'
  else:
      print 'No sorry'
  </code></pre>
  
  <p>prints <code>No sorry</code></p>
  
  <hr>
  
  <p><strong>Here's the confusing one</strong> Only the <em>second</em> item in the list...</p>
  
  <pre><code>if ('e' or 'a') in L:
      print 'it\'s there!'
  else:
      print 'No sorry'
  </code></pre>
  
  <p>prints <code>No sorry</code></p>
  
  <hr>
  
  <p>I do not understand why this is not registering as a true statement. How does this generalize to an <strong>or</strong> statement with <em>n</em> conditionals?</p>
  
  <p><sub>Forehead-slapping easy answer in 3,2,1...</sub></p>