import math
2 from turtle import *
3
4 def hearta(k):
5 return 15* math.sin(k)**3
6 def heartb(k):
7 return 12 *math.cos(k)-5*1
8
math.cos(2*k)-2*\
9
math.cos(3*k)-\
10
math.cos(4*k)
11 speed (9000)
12 bgcolor("black")
13 for i in range(6000):
goto (hearta(i) *20, heartb(i)*20)
for j in range(5):
14
15
16
17
18 done()
color("red")
goto (0,0)