title: I want to have multiple values in an if statement in Python
body: <p>I'm not entirely sure how to go about this. Any assistance is appreciated, sorry for the rookie question.</p>
  
  <pre><code>if input_num != 8 or 16 or 32 or 64 or 128 or 256:
      #some function
  </code></pre>
  
  <p>I think the problem is the 'or', I don't think this is the correct way to do this.</p>