Cycle "for" in python like in C
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/477486/python-decimal-range-step-value">Python decimal range() step value</a>  </p>
</blockquote>



<p>I have a cycle in C:</p>

<pre><code>for (float i = 0; i &lt; 2 * CONST; i += 0.01) {
    // ... do something
}
</code></pre>

<p>I need the same cycle in python, but:</p>

<pre><code>for x in xxx
</code></pre>

<p>not the same.</p>

<p>How can i make it in python?</p>
