import turtle


def tilted_square():
    turtle.left(angle)
    turtle.forward(50)
    turtle.left(90)
    turtle.forward(50)
    turtle.left(90)
    turtle.forward(50)
    turtle.left(90)
    turtle.forward(50)
    turtle.left(90)

angle = 20            # <--
tilted_square()
tilted_square()
tilted_square()

0dbbc1f7205fac49e6f4f2f77cca3b72b9c10ea3
<mask token>

<mask token>


def tilted_square():
    turtle.left(angle)
    turtle.forward(50)
    turtle.left(90)
    turtle.forward(50)
    turtle.left(90)
    turtle.forward(50)
    turtle.left(90)
    turtle.forward(50)
    turtle.left(90)


<mask token>
tilted_square()
tilted_square()
tilted_square()

<mask token>


def tilted_square():
    turtle.left(angle)
    turtle.forward(50)
    turtle.left(90)
    turtle.forward(50)
    turtle.left(90)
    turtle.forward(50)
    turtle.left(90)
    turtle.forward(50)
    turtle.left(90)


angle = 20
tilted_square()
tilted_square()
tilted_square()

import turtle


def tilted_square():
    turtle.left(angle)
    turtle.forward(50)
    turtle.left(90)
    turtle.forward(50)
    turtle.left(90)
    turtle.forward(50)
    turtle.left(90)
    turtle.forward(50)
    turtle.left(90)


angle = 20
tilted_square()
tilted_square()
tilted_square()

import turtle


def tilted_square():
    turtle.left(angle)
    turtle.forward(50)
    turtle.left(90)
    turtle.forward(50)
    turtle.left(90)
    turtle.forward(50)
    turtle.left(90)
    turtle.forward(50)
    turtle.left(90)

angle = 20            # <--
tilted_square()
tilted_square()
tilted_square()
