How to convert JavaScript `for` loop to Python?
<p>I am new to Python and want convert this small JavaScript code to Python. How can I do that?</p>

<pre><code>for (var y = 0; y &lt; 128; y += 1024) {
    for (var x = 0; x &lt; 64; x += 1024) {
        // skipped
    }
}
</code></pre>

<p>I searched a lot in Google, but found nothing.</p>
