Код:
from turtle import *
def windmill(x):
forward(x)
right(90)
forward(x + 40)
right(90)
forward(x - 35)
right(90)
forward(x + 5)
while x < 90:
return windmill(x + 3)
speed(0)
pensize(5)
color('green')
right(45)
windmill(50)
penup()
color('red')
forward(40)
right(45)
forward(300)
right(225)
pendown()
windmill(50)
penup()
color('blue')
forward(35)
left(135)
forward(600)
right(225)
pendown()
windmill(50)