Python Turtle World : chapter 4 . From Think Python How to Think Like a Computer Scientist. Download Swampy. Swampy is a collection of python files/libs that create a Logo like turtle environment. You first need to download the files from http://www.greenteapress.com/thinkpython/swampy /
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
How to Think Like a Computer Scientist
Required for this lab only!
Attributes: x: position y: position r: radius of shellheading: what direction the turtle is facing, in degrees. 0 is east. pen:boolean, whether the pen is downcolor: string turtle color
delay: delay between instructions
The can be set directly
For example self.x = 10
These 2 instructions are performed 4 times
Four space indention is required!!!
Remember you can
bob.x=0 and bob.y=0
What is this angle?
What is the angle in
terms of N?
300 steps example