def addXIntersectionsFromLoops(loops, xIntersections, y):
 for loop in loops:
  addXIntersections(loop, xIntersections, y)

def addXIntersectionsFromLoops ( loops , xIntersections , y ) : for loop in loops : addXIntersections ( loop , xIntersections , y )
add the x intersections for the loops .