title: Python looping PEP8 rule
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/818828/is-it-possible-to-implement-a-python-for-range-loop-without-an-iterator-variable">Is it possible to implement a Python for range loop without an iterator variable?</a>  </p>
  </blockquote>
  
  
  
  <p>just want to do something multiple times so I write</p>
  
  <pre><code>    for i in range(1, 10):
          print 'something'
          print 'do not use i'
  </code></pre>
  
  <p>so when I run PyLint it says :  "Unused variable 'i'" of course.
  So what would be correct way to write this type of loop where I just want to loop multiple times.</p>
  
  <pre><code>    i = 0
      while i &lt; 10:
          print 'test'
          i += 1
  </code></pre>
  
  <p>is this only way?  </p>