what is the cleanest way to loop in a range of numbers in python?
<p>So lets say </p>

<pre><code>start = 10
end = 30
</code></pre>

<p>now I need a loop that goes from <code>start</code>to <code>end</code></p>

<p>I was thinking of something like this:</p>

<pre><code>for i in [start..end]
  print i
</code></pre>

<p>but that does not quite work. Is there a clean way to do this?</p>
