import turtle t = turtle.Turtle() t.speed(1) # 1:slowest, 3:slow, 5:normal, 10:fast, 0:fastest t.up() t.goto(-150,150) t.down() t.setheading(75) for _ in range(5): t.forward(30) t.circle(-5,150) t.forward(30) t.circle(5,150) t.forward(15) t.circle(-5,150) t.forward(15) t.circle(5,150) t.up() t.goto(-150,50) t.down() for _ in range(6): for i in range(2): if (i%2): t.setheading(-65) else: t.setheading(65) t.forward(10) t.setheading(0) t.forward(10) if (i%2): t.setheading(-115) else: t.setheading(115) t.forward(10) t.setheading(0) t.forward(10) if (i%2): t.setheading(-65) else: t.setheading(65) t.forward(10) t.up() t.goto(-150,-50) t.down() t.setheading(-90) for _ in range(8): t.circle(-10,180) t.circle(-30,180) t.up() t.goto(-150,-150) t.down() t.setheading(45) for _ in range(10): t.forward(40) t.circle(10,270) t.forward(40) t.circle(-10,270)