Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- speed(0)
- #this makes beads the specified color and return to middle
- def make_purple_bead():
- penup()
- forward(100)
- pendown()
- color("purple")
- begin_fill()
- circle(10)
- end_fill()
- penup()
- backward(100)
- left(10)
- def make_red_bead():
- penup()
- forward(100)
- pendown()
- color("red")
- begin_fill()
- circle(10)
- end_fill()
- penup()
- backward(100)
- left(10)
- def make_blue_bead():
- penup()
- forward(100)
- pendown()
- color("blue")
- begin_fill()
- circle(10)
- end_fill()
- penup()
- backward(100)
- left(10)
- for i in range(12):
- make_purple_bead()
- make_blue_bead()
- make_red_bead()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement