how to extract from list python, element with index multiple of 2
<p>I just want to get those with the index that is a multiple of two</p>

<pre><code>    code=[1,2,4,7,2,6,8]
    ncode=[code[i] for i%2==0]
</code></pre>