title: Which sequence type is better for a comparison and why? (Python)
body: <p>I have a condition that compares one object to several others, like so:</p>
  
  <pre class="lang-py prettyprint-override"><code>if 'a' in ('a','b','c','e'):
  </code></pre>
  
  <p>The sequence was created for this purpose and doesn't exist anywhere else in the function. What are the pros and cons to grouping it as a tuple, list, or set, given that they all seem to work the same and the list is short? Which would be idiomatic?</p>