1️⃣ 학습 목표

2️⃣ 수업 자료

[1]단계 . 윈도우 마크 따라 그려보기

image.png

image.png

image.png

image.png

from turtle import *

color("green")

begin_fill()
for ii in range(4):
    fd(100)
    left(90)
end_fill()

right(90)
penup()
fd(30)
pendown()

color("yellow")

begin_fill()
for ii in range(4):
    fd(100)
    left(90)
end_fill()

right(90)
penup()
fd(30)
pendown()

color("blue")

begin_fill()
for ii in range(4):
    fd(100)
    left(90)
end_fill()

right(90)
penup()
fd(30)
pendown()

color("red")

begin_fill()
for ii in range(4):
    fd(100)
    left(90)
end_fill()

right(90)
penup()
fd(30)
pendown()

done()