python 3.1 boolean check with for loop
<p>How can I add a Boolean check to a for loop? I was trying something like this:</p>

<pre><code>for i in range (0, someNumber) and keepGoing == True
</code></pre>

<p>It is giving me the error 'bool' object is not iterable. Thanks for the help.</p>
