Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from turtle import *
- tom = Turtle()
- tom.speed(0)
- # sides = 21
- # for x in range(sides):
- # tom.forward(120)
- # tom.left(180-(180/sides))
- # radius = 25
- # for x in range(25):
- # tom.circle(radius)
- # radius = radius + 5
- # for x in range(4):
- # tom.circle(35)
- # tom.penup()
- # tom.forward(40)
- # tom.pendown()
- # sides = 11
- # length = 15
- # for x in range(sides*5):
- # tom.forward(length)
- # tom.left(180-(180/sides))
- # length = length + 5
- # # tom.left(360/sides)
- radius = 25
- for x in range(3):
- for x in range(8):
- tom.circle(radius)
- tom.left(45)
- radius = radius + 25
- done()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement