summaryrefslogtreecommitdiff
path: root/Doc/includes/turtle-star.py
blob: 1a5db761b32385d62ee3c67b65df9a36f3b56254 (plain)
1
2
3
4
5
6
7
8
9
10
from turtle import *
color('red', 'yellow')
begin_fill()
while True:
    forward(200)
    left(170)
    if abs(pos()) < 1:
        break
end_fill()
done()