title: Python: Using AND and OR with .FIND() method
body: <p>imagine I type the following code into the interpreter:</p>
  
  <pre><code>var1 = 'zuuzuu'
  </code></pre>
  
  <p>now suppose i type:</p>
  
  <pre><code>var1.find('a')
  </code></pre>
  
  <p>the interpreter returns -1. which i understand because the substring has not been found. but please help me understand this:</p>
  
  <pre><code>var1.find('a' or 'z') #case 1
  </code></pre>
  
  <p>returns -1</p>
  
  <p>but</p>
  
  <pre><code>var1.find('a' and 'z') #case 2
  </code></pre>
  
  <p>returns 0</p>
  
  <p>According to the logic in my head the interpreter should return -1 for case 2 because the substrings 'a' AND 'z' are NOT located in the string. While in case 1, 0 should be returned since 'z' is a substring. </p>
  
  <p>thanks</p>