Lesson 19 of 51 · Basic Shapes
Triangle
A triangle has three sides. For an equilateral triangle, each turn is 120°.
Python
from turtle import *
bgcolor("black")
color("gold")
pensize(4)
for i in range(3):
forward(180)
right(120)
done()Output

1
Equilateral Triangle
Turn 120° at each corner (180° - 60° = 120°).
2
Formula
For any regular polygon with n sides, the turn angle is 360 / n.