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 /
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