title: Python for loop start counter initialization
body: <pre><code>for iteration in range(len(list) - 1):
    index = iteration +1 #This is the line which has no effect on the inner loop
    for index in range(len(list)):
      if list[iteration] &gt; list[index]:
        newmin  = list[index]
        newminindex = index        
    if iteration != newminindex :
      swapnumbers(list,iteration, newminindex)
  </code></pre>
  
  <p>The above is a code snippet I wrote for selection sort algorithm. However I see the inner loop start counter always starting from 0. Request for expert comment.</p>