title: python: running a loop over indexes of a sub list
body: <pre><code>for items in things:
      while inputFloat != 0:
          thingsBack[][1]=inputFloat//things[]
          inputFloat=inputFloat-(things[]*thingsBack[][1])
  </code></pre>
  
  <p>things is a list of n elements, while thingsBack is a list with n sub-lists. I want both things and thingsBack to start at the 0th element and to loop through the recursion. The calculation inputFloat//things[] only changes the 1 index of the j-th sublist in thingsBack. i know [] is invalid syntax, but used for illustrative purposes.</p>
  
  <p>it seems like there would be an obvious solution, but I am not seeing it.</p>