Professional Documents
Culture Documents
CSBP119 SP2023 LCN 04
CSBP119 SP2023 LCN 04
Chapter 4
Repetition Structures
TURTLE GRAPHICS
for x in range(4):
turtle.forward(100)
turtle.right(90)
for x in range(8):
turtle.forward(100)
turtle.right(45)
for x in range(NUM_CIRCLES):
turtle.circle(RADIUS)
turtle.left(ANGLE)