title: How to remove/delete every n-th element from list?
body: <p>I had already looked through this post:
  <a href="https://stackoverflow.com/questions/16406772/python-building-new-list-from-existing-by-dropping-every-n-th-element">Python: building new list from existing by dropping every n-th element</a>, but for some reason it does not work for me:</p>
  
  <p>I tried this way:</p>
  
  <pre><code>def drop(mylist, n):
      del mylist[0::n]
      print(mylist)
  </code></pre>
  
  <p>This function takes a list and <code>n</code>. Then it removes every n-th element by using n-step from list and prints result.</p>
  
  <p>Here is my function call:</p>
  
  <pre><code>drop([1,2,3,4],2)
  </code></pre>
  
  <p>Wrong output: <br>
  <code>[2, 4]</code> instead of <code>[1, 3]</code></p>
  
  <hr>
  
  <p>Then I tried a variant from the link above:</p>
  
  <pre><code>def drop(mylist, n):
      new_list = [item for index, item in enumerate(mylist) if index % n != 0]
      print(new_list)
  </code></pre>
  
  <p>Again, function call:</p>
  
  <pre><code>drop([1,2,3,4],2)
  </code></pre>
  
  <p>Gives me the same wrong result:
  <code>[2, 4]</code> instead of <code>[1, 3]</code></p>
  
  <hr>
  
  <p>How to correctly remove/delete/drop every <strong>n-th</strong> item from a list?</p>