diff options
Diffstat (limited to 'Doc/includes')
-rw-r--r-- | Doc/includes/turtle-star.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Doc/includes/turtle-star.py b/Doc/includes/turtle-star.py new file mode 100644 index 0000000..1a5db76 --- /dev/null +++ b/Doc/includes/turtle-star.py @@ -0,0 +1,10 @@ +from turtle import * +color('red', 'yellow') +begin_fill() +while True: + forward(200) + left(170) + if abs(pos()) < 1: + break +end_fill() +done() |