def getPegCenterXs(numberOfSteps, pegCenterX, stepX):
 pegCenterXs = []
 for stepIndex in xrange(numberOfSteps):
  pegCenterXs.append(pegCenterX)
  pegCenterX += stepX
 return pegCenterXs

def getPegCenterXs ( numberOfSteps , pegCenterX , stepX ) : pegCenterXs = [ ] for stepIndex in xrange ( numberOfSteps ) : pegCenterXs . append ( pegCenterX ) pegCenterX += stepX return pegCenterXs
get the peg center x list .