Pookkalam by Aslam Reji

Code

def rect(l,b,col,r):
    r = rectangle(x=50, y=50, w=l, h=b,fill=col,stroke="white") | rotate(r)
    return r

angle=60
c=circle(r=140,fill="orange")
show(c)

for i in range(6):
    re = rect(l=100,b=100,col="red",r=angle)
    show(re)
    angle = angle +60
c1=circle(r=100,fill="yellow")
show(c1)
angle = 30
for i in range(6):
    re = rect(l=40,b=40,col="white",r=angle)
    show(re)
    angle = angle +60
c1=circle(r=75,fill="green")
show(c1)