title: Do something every n iterations without using counter variable
body: <p>I've an iterable list of over 100 elements. I want to do something after every 10th iterable element. I don't want to use a counter variable. I'm looking for some solution which does not includes a counter variable.</p>
  
  <p>Currently I do like this:</p>
  
  <pre><code>count = 0
  for i in range(0,len(mylist)):
      if count == 10:
          count = 0
          #do something
      print i
      count += 1
  </code></pre>
  
  <p><strong>Is there some way in which I can omit counter variable?</strong></p>