title: How to exclude some numbers of a list in a for loop
body: <p>I want to use a list in a for loop in python, but I want to exclude some of its data. My list includes numbers from 13 to 50 and I want to exclude 19, 26, 33, 40 and so on. In other words they are <code>12+7</code>, <code>12+7*2</code>, <code>12+7*3</code>, <code>12+7*4</code> and so on. This is my for loop:</p>
  <pre><code>for i in range (13,50):
      if i==19 or i==26 or i==33 or i==40 or i==47:
          continue
      print (i)
  </code></pre>
  <p>In real cases I have thousands of points and I cannot work with the <code>if</code> line. In advance, I do appreciate a  solution.</p>