Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c2a9a9a9
Commit
c2a9a9a9
authored
Aug 07, 2011
by
Sandro Tosi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#12677: correct turtle orientation in doc
parent
ab2d796d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
Doc/library/turtle.rst
Doc/library/turtle.rst
+2
-2
Lib/turtle.py
Lib/turtle.py
+2
-2
Lib/turtledemo/about_turtle.txt
Lib/turtledemo/about_turtle.txt
+2
-2
No files found.
Doc/library/turtle.rst
View file @
c2a9a9a9
...
...
@@ -18,10 +18,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.
G
ive it the
Imagine a robotic turtle starting at (0, 0) in the x-y plane.
After an ``import turtle``, g
ive 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.
lef
t(25)``, and it rotates in-place 25 degrees clockwise.
``turtle.
righ
t(25)``, and it rotates in-place 25 degrees clockwise.
.. sidebar:: Turtle star
...
...
Lib/turtle.py
View file @
c2a9a9a9
...
...
@@ -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.
G
ive it
Imagine a robotic turtle starting at (0, 0) in the x-y plane.
After an ``import turtle``, g
ive 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.
lef
t(25), and it rotates in-place 25 degrees clockwise.
command turtle.
righ
t(25), and it rotates in-place 25 degrees clockwise.
By combining together these and similar commands, intricate shapes and
pictures can easily be drawn.
...
...
Lib/turtledemo/about_turtle.txt
View file @
c2a9a9a9
...
...
@@ -7,10 +7,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.
G
ive it
Imagine a robotic turtle starting at (0, 0) in the x-y plane.
After an ``import turtle``, g
ive 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.
lef
t(25), and it rotates in-place 25 degrees clockwise.
command turtle.
righ
t(25), and it rotates in-place 25 degrees clockwise.
By combining together these and similar commands, intricate shapes and
pictures can easily be drawn.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment