cpython/Doc/includes/turtle-star.py
2010-11-09 18:40:03 +00:00

11 lines
155 B
Python

from turtle import *
color('red', 'yellow')
begin_fill()
while True:
forward(200)
left(170)
if abs(pos()) < 1:
break
end_fill()
done()