How to slice a list from an element n to the end in python?
<p>I'm having some trouble figuring out how to slice python lists, it is illustrated as follows:</p>

<pre><code>&gt;&gt;&gt; test = range(10)
&gt;&gt;&gt; test
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
&gt;&gt;&gt; test[3:-1]
[3, 4, 5, 6, 7, 8]
&gt;&gt;&gt; test[3:0]
[]
&gt;&gt;&gt; test[3:1]
[]
&gt;&gt;&gt; test
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
</code></pre>

<p>To my understanding, python slice means lst[start:end], and including start, excluding end. So how would i go about finding the "rest" of a list starting from an element n?</p>

<p>Thanks a lot for all your help!</p>
