title: What is the best approach in python: multiple OR or IN in if statement?
body: <p>What is the best approach in python: <em>multiple OR</em> or <em>IN</em> in if statement? Considering performance and best pratices.</p>
  <pre class="lang-py prettyprint-override"><code>if cond == '1' or cond == '2' or cond == '3' or cond == '4': pass
  </code></pre>
  <p>OR</p>
  <pre class="lang-py prettyprint-override"><code>if cond in ['1','2','3','4']: pass
  </code></pre>