Computer Science Work
- Created by: james_goddard
- Created on: 03-03-22 20:22
Fullscreen
Command Purpose turtle.forward( yyy ) or turtle.fd(yyy) Move the turtle forward yyy turtle.backward( yyy ) or turtle.bk(yyy) Move the turtle backwards yyy turtle.right(yyy) or turtle.rt(yyy) Turn the turtle yyy degrees clockwise turtle.left(yyy) or turtle.lt(yyy) Turn the turtle yyy degrees anti‐clockwise turtle.pencolor( “red” ) Set the line colour to be “red” turtle.pensize ( yy ) Set the width of the lines turtle.penup ( ) Stop the turtle from drawing turtle.pendown ( ) Start the turtle drawing again turtle.speed…
Comments
No comments have yet been made