# 4.9.3 ok
import turtle
def draw_poly(t, n, sz):
    for i in range(n):

        t.forward(sz)
        t.left(45)

wn = turtle.Screen()
wn.bgcolor("lightgreen")

tess = turtle.Turtle()
tess.color("hotpink")
tess.pensize(3)
tess.speed(1)

draw_poly(tess, 8, 50)

wn.exitonclick()
b670b6ed49f8d406d76be414fe3702d221bdc5f2
<mask token>


def draw_poly(t, n, sz):
    for i in range(n):
        t.forward(sz)
        t.left(45)


<mask token>

<mask token>


def draw_poly(t, n, sz):
    for i in range(n):
        t.forward(sz)
        t.left(45)


<mask token>
wn.bgcolor('lightgreen')
<mask token>
tess.color('hotpink')
tess.pensize(3)
tess.speed(1)
draw_poly(tess, 8, 50)
wn.exitonclick()

<mask token>


def draw_poly(t, n, sz):
    for i in range(n):
        t.forward(sz)
        t.left(45)


wn = turtle.Screen()
wn.bgcolor('lightgreen')
tess = turtle.Turtle()
tess.color('hotpink')
tess.pensize(3)
tess.speed(1)
draw_poly(tess, 8, 50)
wn.exitonclick()

import turtle


def draw_poly(t, n, sz):
    for i in range(n):
        t.forward(sz)
        t.left(45)


wn = turtle.Screen()
wn.bgcolor('lightgreen')
tess = turtle.Turtle()
tess.color('hotpink')
tess.pensize(3)
tess.speed(1)
draw_poly(tess, 8, 50)
wn.exitonclick()

# 4.9.3 ok
import turtle
def draw_poly(t, n, sz):
    for i in range(n):

        t.forward(sz)
        t.left(45)

wn = turtle.Screen()
wn.bgcolor("lightgreen")

tess = turtle.Turtle()
tess.color("hotpink")
tess.pensize(3)
tess.speed(1)

draw_poly(tess, 8, 50)

wn.exitonclick()