title: How do I move to the next index?
body: <p>I have a list of different monetary notes and I want to jump to the next index after each loop. How can I do that? I want to make the str dividor equel to [1] after the first loop, then [2], then [3] etc.</p>
  
  <pre><code>money_list = [100,50,20,10,5,1,0.5]
  dividor = money_list[0]
  
  while change&gt;0.5:
       print (change/100) + " X " + [0]
       change 
       dividor + [0]
  </code></pre>