# halloween.py

Created by numworks

Created on October 20, 2021

1.46 KB

```from turtle import *
from math import *
pendown()
goto(0,0)
speed(10)
pensize (1)
for i in range(6):
forward(170)
backward(170)
right(60)
goto(-10,-18)
n=6
angle=360./n
c=2
u=10
for k in range(n):
forward(c*u)
left(angle)
goto(-18,-32)
n=6
angle=360./n
c=2
u=18
for k in range(n):
forward(c*u)
left(angle)
goto(-28,-48)
n=6
angle=360./n
c=2
u=28
for k in range(n):
forward(c*u)
left(angle)
goto(-38,-68)
n=6
angle=360./n
c=2
u=39
for k in range(n):
forward(c*u)
left(angle)
goto(-50,-88)
n=6
angle=360./n
c=2
u=51
for k in range(n):
forward(c*u)
left(angle)
goto(-62,-108)
n=6
angle=360./n
c=2
u=62
for k in range(n):
forward(c*u)
left(angle)
penup()
goto(-130,68)
pensize(1)
penup()
goto(-120,68)
pendown()
circle(15)
penup()
goto(-120,55)
pendown()
circle(10)
penup()
goto(-110,70)
pendown()
goto(-105,70)
goto(-100,58)
goto(-98,62)
penup()
goto(-130,70)
pendown()
goto(-135,70)
goto(-140,58)
goto(-142,62)
penup()
goto(-107,74)
pendown()
goto(-102,76)
goto(-97,68)
goto(-93,72)
penup()
goto(-133,74)
pendown()
goto(-138,76)
goto(-143,68)
goto(-147,72)
penup()
goto(-105,82)
pendown()
goto(-100,84)
goto(-95,76)
goto(-92,80)
penup()
goto(-135,82)
pendown()
goto(-140,84)
goto(-145,76)
goto(-149,80)
penup()
goto(-107,88)
pendown()
goto(-102,90)
goto(-97,82)
goto(-93,86)
penup()
goto(-133,88)
pendown()
goto(-138,90)
goto(-143,82)
goto(-147,86)
penup()
goto(-56,115)
pendown()
goto(-120,98)
penup()
goto(-200,200)```