Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from turtle import *
- color("red")
- shape("turtle")
- speed(2)
- pensize(8)
- N = 8
- angle = 360 / N
- for i in range(N):
- forward(50)
- right(angle)
- color("white")
- left(2* angle)
- forward(100)
- color("blue")
- N2 = 10
- angle2 = 360 / N2
- for i in range(N2):
- forward(50)
- right(angle2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement