title: Is there a compact way to use repeatedly the 'or' logical operator in python?
body: <p>I want to look over every line of a text document and have something happen if certain specific symbols are spotted. Every line in the document is a list and I'm looking over it.</p>
  <p>To use the <code>or</code> operator inside a condition you can do it like one of these two :</p>
  <pre><code>if line[i] == '¢' or line[i] == '¤' or line[i] == '§' or line[i] == '\xa0' :
  if (line[i] == '¢') or (line[i] == '¤') or (line[i] == '§') or (line[i] == '\xa0'):
  </code></pre>
  <p>Wich is fine when you have a few symbols but becomes unreadable with a lot of them.</p>
  <p>So is there anything that could look like that ?</p>
  <pre><code>if line[i] == ('¢' or '¤' or '§' or '\xa0') :
  </code></pre>
  <p>I know that I can use a list with all the symbols I need and compare those of the line with them but for some reason I have to do it this way.</p>