2.2.5 Row Of Circles
Question: 2.1.4: Stretched Slinky
Answer: circle(35)
forward(40)
circle(35)
forward(40)
circle(35)
forward(40)
circle(35)
forward(40)
circle(35)
forward(40)
Question: 2.2.4: Shorter Dashed Line
Answer: penup()
backward(200)
pendown()
forward(50)
penup()
forward(50)
pendown()
forward(50)
penup()
forward(50)
pendown()
forward(50)
penup()
forward(50)
pendown()
forward(50)
penup()
forward(50)
pendown()
Question: 2.2.5: Caterpillar
Answer: penup()
backward(200)
pendown()
circle(20)
penup()
forward(40)
pendown()
circle(20)
penup()
forward(40)
pendown()
circle(20)
penup()
forward(40)
pendown()
circle(20)
penup()
forward(40)
pendown()
circle(20)
Question: 2.3.5: Rectangle
Answer: pendown()
forward(50)
left(90)
forward(100)
left(90)
forward(50)
left(90)
forward(100)
left(90)
Question: 2.3.6: 4 Columns
Answer: penup()
left(90)
pendown()
forward(200)
left(180)
forward(400)
left(90)
penup()
forward(100)
pendown()
left(90)
forward(400)
penup()
left(90)
forward(200)
left(90)
pendown()
forward(400)
Question: 2.4.5: Row of Circles
Answer: penup()
backward(190)
for i in range (20):
pendown()
circle(10)
penup()
forward(20)
Question: 2.4.6: 4 Columns 2.0
Answer: for i in range (1):
penup()
backward(200)
right(90)
forward(200)
left(90)
forward(100)
left(90)
pendown()
forward(400)
right(90)
penup()
forward(100)
right(90)
pendown()
forward(400)
left(90)
penup()
forward(100)
left(90)
pendown()
forward(400)
Question: 2.5.5: Hexagon
Answer: pendown()
for i in range (6):
forward(50)
left(60)
Question: 2.5.6: ‘X’ Marks the Spot
Answer: left(45)
for i in range(4):
forward(100)
backward(100)
left(90)
Question: 2.5.7: Circle Pyramid
Answer: penup()
setposition(-100,-200)
for i in range (3):
pendown()
circle(50)
penup()
forward(100)
setposition(-50,-100)
for i in range (2):
pendown()
circle(50)
penup()
forward(100)
setposition(0,0)
pendown()
circle(50)
penup()
forward(100)