commit | 14fb79977b0b8a4d3def48c7b3a20e5c73901ce0 | [log] [tgz] |
---|---|---|
author | Alexander Belopolsky <alexander.belopolsky@gmail.com> | Tue Nov 09 18:40:03 2010 +0000 |
committer | Alexander Belopolsky <alexander.belopolsky@gmail.com> | Tue Nov 09 18:40:03 2010 +0000 |
tree | 17c344f4013dad3386bcea5c508339e24b89d892 | |
parent | 922e904cca75577e213f0b9cf126003d251f2ada [diff] [blame] |
Issue #7061: Added a 'Turtle star' sidebar
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()