1 / 5

Chapter 4: Interface Design

Chapter 4: Interface Design. Directed Reading Notes and Demos CS1 Kamiakin HS. 4.1 TurtleWorld. from swampy.TurtleWorld import * world = TurtleWorld () bob = Turtle() print bob wait_for_user () . 4.1 Right Angle. from swampy.TurtleWorld import * world = TurtleWorld ()

dory
Download Presentation

Chapter 4: Interface Design

An Image/Link below is provided (as is) to download presentation 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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 4: Interface Design Directed Reading Notes and Demos CS1 Kamiakin HS

  2. 4.1 TurtleWorld from swampy.TurtleWorld import * world = TurtleWorld() bob = Turtle() print bob wait_for_user()

  3. 4.1 Right Angle from swampy.TurtleWorld import * world = TurtleWorld() bob = Turtle() print bob fd(bob, 100) lt(bob) fd(bob, 100) wait_for_user()

  4. 4.1 Square from swampy.TurtleWorld import * world = TurtleWorld() bob = Turtle() print bob fd(bob, 100) lt(bob) fd(bob, 100) lt(bob) fd(bob, 100) lt(bob) fd(bob,100) wait_for_user()

  5. from TurtleWorld import * world = TurtleWorld() bob = Turtle() print bob def square(t): for i in range(4): fd(t, 100) lt(t) square(bob) wait_for_user()

More Related