4.6.6 caterpillar python var NUM_CIRCLES = 15; // This graphics program should draw a caterpillar. A caterpillar has NUM_CIRCLES // circles. Every other circle is a different color, the even circles are red, and // the odd circles are green. Use a for loop to draw the caterpillar, centered // vertically in the screen. function start(){ var kRadius = getWidth() / (NUM_CIRCLES * 2); for(var i = 0; i < NUM_CIRCLES; i++){ var circle = new Circle(kRadius); circle.setPosition( i * kRadius * 2 + kRadius, getHeight() / 2); if(i % 2 == 0){ 4.6.6 caterpillar python PasteShr 4.6.6 caterpillar python circle.setColor(Color.red); } else{ circle.setColor(Color.green); } 4.6.6 caterpillar python