This preview shows page 1. Sign up to view the full content.
Unformatted text preview: bob = Turtle() # create a turtle, and call him bob print bob # print some stuff about bob in the Python Shell window fd(bob, 100) # move forward 100 pixels rt(bob) # turn right fd(bob, 100) # more forward 100 pixels wait_for_user() # keep the screen open til we click the red X or circle to quit...
View Full Document
This note was uploaded on 08/28/2009 for the course CS 50 taught by Professor Staff during the Spring '08 term at UCSB.
- Spring '08