from turtle import * ht() def ok(x,y,boyut,egim,color): pu() goto(x,y) pd() pensize(2) color setheading(egim) fd(boyut) rt(90) fd(boyut/4) lt(120) fd(boyut) lt(120) fd(boyut) lt(120) fd(boyut/4) rt(90) fd(boyut) lt(90) fd(boyut/2) boyut=25 for y in range(-80,160,boyut): x=-100 for i in range(6): ok(x,y,boyut,0,color("red")) ok(x+boyut,y,boyut,180,color("green")) x+=boyut+3**0.5/2*boyut