from turtle import * from math import * from kandinsky import * penup() hideturtle() rects = [ (125,50,70,10,(240,0,32)), (133,40,55,10,(240,0,32)), (133,30,55,10,(240,0,32)), (115,100,90,15,(240,0,32)), (185,100,15,45,(240,0,32))] for r in rects: fill_rect(*r) goto(-45,-4) pendown() pensize(2) right(131) circle(60,263) penup() goto(15,10) right(120) pendown() circle(25,119) penup() goto(-27,50) pendown() left(100) circle(25,112) penup() goto(-50,-30) pendown() pensize(3) goto(-100,15) penup() goto(-70,-10) pendown() goto(-95,-5) penup() goto(-80,0) pendown() goto(-85,20) penup() goto(50,-30) pendown() goto(100,15) penup() goto(70,-10) pendown() goto(95,-5) penup() goto(80,0) pendown() goto(85,20) penup() goto(0,-80) pendown() circle(2) penup() goto(0,-60) pendown() circle(2) penup() goto(0,-40) pendown() circle(2) penup() goto(0,-20) pendown() circle(2) penup() goto(-13,35) pendown() circle(2) penup() goto(13,35) pendown() circle(2) penup() goto(3,30) pensize(2) pendown() goto(3,20) goto(-20,25) goto(3,30) penup()