<filename>worksheet/2020/heart.py
from turtle import *

bgcolor('black')
pencolor('pink')
speed(0)
width(5)

seth(90)
fd(100)
right(45)
fd(100)
seth(135)
fd(100)
seth(180+45)
fd(50)
seth(180)
fd(100)
seth(180-45)
fd(50)
seth(180+45)
fd(100)
seth(270+45)
fd(100)
seth(270)
fd(100)
seth(270+45)
fd(50)
seth(0)
fd(100)
seth(45)
fd(50)

pu()
goto(-120, 90)
pd()
seth(90)
begin_fill()
fillcolor('pink')
circle(20, 180)
end_fill()


pu()
goto(-120+100, 90)
pd()
seth(90)
begin_fill()
fillcolor('pink')
circle(20, 180)
end_fill()

seth(270)
pu()
goto(-120, 10)
pd()
circle(30, 180)

pu()
goto(-70, 40)
pd()
circle(20)


done()
<filename>worksheet/2020/heart.py
from turtle import *

bgcolor('black')
pencolor('pink')
speed(0)
width(5)

seth(90)
fd(100)
right(45)
fd(100)
seth(135)
fd(100)
seth(180+45)
fd(50)
seth(180)
fd(100)
seth(180-45)
fd(50)
seth(180+45)
fd(100)
seth(270+45)
fd(100)
seth(270)
fd(100)
seth(270+45)
fd(50)
seth(0)
fd(100)
seth(45)
fd(50)

pu()
goto(-120, 90)
pd()
seth(90)
begin_fill()
fillcolor('pink')
circle(20, 180)
end_fill()


pu()
goto(-120+100, 90)
pd()
seth(90)
begin_fill()
fillcolor('pink')
circle(20, 180)
end_fill()

seth(270)
pu()
goto(-120, 10)
pd()
circle(30, 180)

pu()
goto(-70, 40)
pd()
circle(20)


done()