title: C++ "for" loop condition in python
body: <p>Is there a one-line way to translate this &quot;for&quot; loop from C++ to python?</p>
  <pre><code>for(int i = 0; i &lt; = 10 &amp;&amp; i != 6; i++)
  </code></pre>
  <p>I mean in C++ we have :</p>
  <pre><code>for(initial_value; condition(s); step)
  </code></pre>
  <p>and I am looking for the analogue version in Python where we can impose one or several conditions.</p>