How to use Python 'in' operator to check my list/tuple contains each of the integers 0, 1, 2?
<p>How do I use the Python <code>in</code> operator to check my list/tuple <code>sltn</code> contains each of the integers 0, 1, and 2?</p>

<p>I tried the following, why are they both wrong:</p>

<pre><code># Approach 1
if ("0","1","2") in sltn:
     kwd1 = True

# Approach 2
if any(item in sltn for item in ("0", "1", "2")):
     kwd1 = True
</code></pre>

<hr>

<p>Update: why did I have to convert <code>("0", "1", "2")</code> into either the tuple <code>(1, 2, 3)</code>? or the list <code>[1, 2, 3]</code>?</p>