title: How do I use a decimal step value for range()?
body: <p>How do I iterate between 0 and 1 by a step of 0.1?</p>
  <p>This says that the step argument cannot be zero:</p>
  <pre><code>for i in range(0, 1, 0.1):
      print(i)
  </code></pre>