0% found this document useful (0 votes)
61 views2 pages

Summary Turtle Method

Turtle in python

Uploaded by

NXTEN sports
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
61 views2 pages

Summary Turtle Method

Turtle in python

Uploaded by

NXTEN sports
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 2
912020 5,7. Summary of Turtle Methods — Foundations of Python Programming 5.7. Summary of Turtle Methods Method Parameters Description Turtle None Creates and retums a new turtle object, forward distance Moves the turtle forward backward distance Moves the turle backward right angle Turns the turtle clockwise left angle Tums the turtle counter clockwise up None Picks up the turtles tail down None Puts down the turtles tail color color name Changes the color of the turtles tail filleolor color name Changes the color of the turtle will use to fil a polygon heading None Returns the current heading position None Retums the current position goto xy Move the turtle to position x.y begin fill None Remember the starting point fora filled polygon end_fill None Close the polygon and fill with the current fill color dot None Leave a dot at the current position stamp None Leaves an impression of a turtle shape at the current location shape shapename Should be ‘arrow’, ‘triangle’, ‘classic’, ‘turtle’, ‘circle’, or ‘square’ speed integer 0 = no animation, fastest; 1 = slowest; 10 = very fast Once you are comfortable with the basics of turtle graphics you can read about even more options on the Python Docs Website (http://docs python org/dev/py3klibrary/turtle.html). Note that we will describe Python Docs in more detail in the next chapter. You have attempted 1 of 1 activities on this page Me legMethod: tions" y jObservations ht ow More turtle Sicrementar Brogramming’SNext Section 86. 9 incremental Programming (WPincrementalPregramraing. html) < hitpsfopp.ums! educaion/books/publshedtTopprPytnonTurle/SummaryOrTurtleMethods him 1 sa/2020 5,7. Summary of Turtle Methods — Foundations of Python Programming > ‘¥ Completed. Well Done! © Copyright 2017 bradleymiller. Created using Runestone http:/runestoneinteractive.org/) 4.1.17. | Back to top Me legeth ” je hy ow More turd intcrementat Brogramming’sNext Section = S's 8 lacromental Prograiniming (WPincrementalProgramming. htm!) hitpsfopp.ums! education/books/publshedtfoppPytnonTurle/SummaryOrTurleMethods.himl 22

You might also like