Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2a389e4

Browse files
committed
#12677: correct turtle orientation in doc
1 parent ebd4805 commit 2a389e4

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

Doc/library/turtle.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ Turtle graphics is a popular way for introducing programming to kids. It was
1818
part of the original Logo programming language developed by Wally Feurzig and
1919
Seymour Papert in 1966.
2020

21-
Imagine a robotic turtle starting at (0, 0) in the x-y plane. Give it the
21+
Imagine a robotic turtle starting at (0, 0) in the x-y plane. After an ``import turtle``, give it the
2222
command ``turtle.forward(15)``, and it moves (on-screen!) 15 pixels in the
2323
direction it is facing, drawing a line as it moves. Give it the command
24-
``turtle.left(25)``, and it rotates in-place 25 degrees clockwise.
24+
``turtle.right(25)``, and it rotates in-place 25 degrees clockwise.
2525

2626
.. sidebar:: Turtle star
2727

Lib/turtle.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
kids. It was part of the original Logo programming language developed
2828
by Wally Feurzig and Seymour Papert in 1966.
2929
30-
Imagine a robotic turtle starting at (0, 0) in the x-y plane. Give it
30+
Imagine a robotic turtle starting at (0, 0) in the x-y plane. After an ``import turtle``, give it
3131
the command turtle.forward(15), and it moves (on-screen!) 15 pixels in
3232
the direction it is facing, drawing a line as it moves. Give it the
33-
command turtle.left(25), and it rotates in-place 25 degrees clockwise.
33+
command turtle.right(25), and it rotates in-place 25 degrees clockwise.
3434
3535
By combining together these and similar commands, intricate shapes and
3636
pictures can easily be drawn.

Lib/turtledemo/about_turtle.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ Turtle graphics is a popular way for introducing programming to
77
kids. It was part of the original Logo programming language developed
88
by Wally Feurzig and Seymour Papert in 1966.
99

10-
Imagine a robotic turtle starting at (0, 0) in the x-y plane. Give it
10+
Imagine a robotic turtle starting at (0, 0) in the x-y plane. After an ``import turtle``, give it
1111
the command turtle.forward(15), and it moves (on-screen!) 15 pixels in
1212
the direction it is facing, drawing a line as it moves. Give it the
13-
command turtle.left(25), and it rotates in-place 25 degrees clockwise.
13+
command turtle.right(25), and it rotates in-place 25 degrees clockwise.
1414

1515
By combining together these and similar commands, intricate shapes and
1616
pictures can easily be drawn.

0 commit comments

Comments
 (0)