How to select Python Tuple/Dictionary Values where Index > x
<p>How do you select python Tuple/Dictionary values where the index is greater than some number. I would think the code should look similar to the following assuming we create a Tuple:</p>

<p><code>dt = (100, 200, 300,400)
 dt[dt.index &gt; 1]
</code></p>

<p>You could just slice the tuple. </p>

<pre><code>&gt;&gt;&gt; dt = (100, 200, 300,400)
&gt;&gt;&gt; dt[2:]
(300, 400)
</code></pre>

python