1def turtle_triangle():
2 window = turtle.Screen()
3 window.bgcolor("red")
4
5 brad = turtle.Turtle()
6
7 brad.shape("turtle")
8 brad.color("yellow")
9 brad.speed(1)
10
11 for _ in range(3):
12 brad.right(60)
13 brad.forward(200)
14 brad.right(60)
15
16 window.exitonclick()