Python - Properly Use OR function
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/10460963/or-behaviour-in-python">OR behaviour in python:</a>  </p>
</blockquote>



<p>Probably extremely basic, but I'm a bit stuck after searching around. To me, this line of code should result in it printing "ELSE" as the string does not contain either word. Obviously it's not that simple and can't seem to figure out why. I've made sure to split the string in to a list just to make things easier to search. What am I doing wrong?</p>

<pre><code>string = "Johnny Was Here Yesterday"
string = string.split()

if "Bob" or "Hello" in string:
    print "IF"
else:
    print "ELSE"
</code></pre>
