title: How is the 'or' function used in listing vairables in a function python
body: <p>I want to list several vairables in a function so they will all be detected:</p>
  
  <pre><code>    if how != 'no'or'yes':
          print"That is not a valid answer"
  </code></pre>
  
  <p>so i want the if how != to read no and yes but when i run only no is detected</p>