def getAddIndexedLoops(loop, vertexes, zList):
 indexedLoops = []
 for z in zList:
  indexedLoop = getAddIndexedLoop(loop, vertexes, z)
  indexedLoops.append(indexedLoop)
 return indexedLoops

def getAddIndexedLoops ( loop , vertexes , zList ) : indexedLoops = [ ] for z in zList : indexedLoop = getAddIndexedLoop ( loop , vertexes , z ) indexedLoops . append ( indexedLoop ) return indexedLoops
get and add indexed loops .