diff options
author | Sandro Tosi <sandro.tosi@gmail.com> | 2011-08-07 15:13:13 (GMT) |
---|---|---|
committer | Sandro Tosi <sandro.tosi@gmail.com> | 2011-08-07 15:13:13 (GMT) |
commit | c42a568cd4f3708b30eee733a132029df1808d10 (patch) | |
tree | 56c48300f105cc7625323d83a055d87674ecee26 /Lib/turtle.py | |
parent | de8c100ef001882616443a49b719a9d0b8935871 (diff) | |
parent | 2a389e4601a462a028fb34991704a1f92d51d0ee (diff) | |
download | cpython-c42a568cd4f3708b30eee733a132029df1808d10.zip cpython-c42a568cd4f3708b30eee733a132029df1808d10.tar.gz cpython-c42a568cd4f3708b30eee733a132029df1808d10.tar.bz2 |
#12677: merge with 3.2
Diffstat (limited to 'Lib/turtle.py')
-rw-r--r-- | Lib/turtle.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/turtle.py b/Lib/turtle.py index a0c9ae6..ad75183 100644 --- a/Lib/turtle.py +++ b/Lib/turtle.py @@ -27,10 +27,10 @@ Turtle graphics is a popular way for introducing programming to kids. It was part of the original Logo programming language developed by Wally Feurzig and Seymour Papert in 1966. -Imagine a robotic turtle starting at (0, 0) in the x-y plane. Give it +Imagine a robotic turtle starting at (0, 0) in the x-y plane. After an ``import turtle``, give it the command turtle.forward(15), and it moves (on-screen!) 15 pixels in the direction it is facing, drawing a line as it moves. Give it the -command turtle.left(25), and it rotates in-place 25 degrees clockwise. +command turtle.right(25), and it rotates in-place 25 degrees clockwise. By combining together these and similar commands, intricate shapes and pictures can easily be drawn. |