Thursday 24 May 2012

Purple Turtle






















>>> pen_down()
Is it just me or is this turtle purple.

>>> color("purple") 
The windows installer works perfectly.
The environment is standalone.
This turtle incorporates interactive Python interpreter 2.6


>>> color("green")

PurpleTurtle was written 






...  The default Python prompt of the interactive shell when entering code for an indented code block.




I say "Blogger auto-generated html is a bit clumsy."

 postscriptum
 
"Programs must be written for people to read, and only incidentally for machines to execute."
- Abelson & Sussman, SICP, preface to the first edition

The Turtle interpreter supports
>>> import this

No comments:

Post a Comment