title: If substring in string, when substring has multiple values
body: <p>I know there is a way to work around it, but I want to understand the underlying logic as to why this doesn't work.</p>
  
  <p>It's a very simple statement, and it only returns as True when the first substring in the "or list" is shown.</p>
  
  <pre><code>for i in list:
      if (substring1 or substring2 or substring3) in string:
          print(string + " found!")
  </code></pre>
  
  <p>What am I missing here? I would think the or conditions would equal true if any substring was found in the string. As is, I'm only coming up as true if substring1 is found in string, and no substring2 or substring3.</p>