title: Why doesn't Python have a "continue if" statement?
body: <p>This is a pretty readable chunk of code I think,</p>
  
  <pre><code>for i in range(100):
      continue if i % 2 == 0
  </code></pre>
  
  <p>But it's not syntactically correct. We can do other nice things in Python like,</p>
  
  <pre><code>for i in things:
      total += 3 if i % 2 == 0 else 1
  </code></pre>
  
  <p>Or maybe,</p>
  
  <pre><code>return a if b &gt; a else c
  </code></pre>
  
  <p>Why can't we do a <code>continue if</code> statement?</p>