title: Python - Is there a more elegant way to write this IF statement which contains multiple OR
body: <p>I have this IF, OR statement:</p>
  
  <pre><code>a = 1
  b = 2
  c = 3
  d = 4
  
  if a == 5 or b == 5 or c == 5 or d == 5:
      # do something
  else:
      # do something different
  </code></pre>
  
  <p>I was wondering if this is the best way to write it?</p>