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="purple") 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="pink") 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="yellow") show(c1)