import turtle
paper = turtle.Screen()
leonardo = turtle.Turtle()


def draw_poly(draw_turtle, number_of_sides, size):
    angle = 360 / number_of_sides
    for _ in range(number_of_sides):
        draw_turtle.forward(size)
        draw_turtle.left(angle)


draw_poly(leonardo, 8, 50)
paper.exitonclick()

a9469eba5675b051b9b8a883308e1941ad0790e4
<mask token>


def draw_poly(draw_turtle, number_of_sides, size):
    angle = 360 / number_of_sides
    for _ in range(number_of_sides):
        draw_turtle.forward(size)
        draw_turtle.left(angle)


<mask token>

<mask token>


def draw_poly(draw_turtle, number_of_sides, size):
    angle = 360 / number_of_sides
    for _ in range(number_of_sides):
        draw_turtle.forward(size)
        draw_turtle.left(angle)


draw_poly(leonardo, 8, 50)
paper.exitonclick()

<mask token>
paper = turtle.Screen()
leonardo = turtle.Turtle()


def draw_poly(draw_turtle, number_of_sides, size):
    angle = 360 / number_of_sides
    for _ in range(number_of_sides):
        draw_turtle.forward(size)
        draw_turtle.left(angle)


draw_poly(leonardo, 8, 50)
paper.exitonclick()

import turtle
paper = turtle.Screen()
leonardo = turtle.Turtle()


def draw_poly(draw_turtle, number_of_sides, size):
    angle = 360 / number_of_sides
    for _ in range(number_of_sides):
        draw_turtle.forward(size)
        draw_turtle.left(angle)


draw_poly(leonardo, 8, 50)
paper.exitonclick()
