Lesson 22 of 51 · Basic Shapes
Star
A 5-pointed star is a beautiful shape made with a single loop.
Python
from turtle import *
bgcolor("black")
color("yellow")
pensize(3)
speed(0)
for i in range(5):
forward(200)
right(144)
done()Output

1
The Magic Angle
Draw 5 lines and turn 144° each time. This creates the classic star shape.
2
Why 144°?
Each point of the star is 36°. The turn is 180° - 36° = 144°.