Turtle Definitions
Turtle Functions
What's wrong with that code!
What does that code do?
Basics Review
100

How do we measure how far the turtle pen moves?

Pixels

100

What line of code do you use to create a turtle object? (pen)

t = turtle.Turtle()

100

s is the screen object

100

100

200

How do we measure how much the turtle pen turns

Degrees

200

Name a turtle function that changes the color of the pen, fillcolor, or both

pencolor(), fillcolor(), or color()

200

200

Where does the turtle pen go? (Upper Left, Upper Right, Lower Left, Lower Right)

Upper Right

200

300


In the code above ^

What is that variable

What is the library

What is the function?

Variable - t

Library - turtle

Function - Turtle()

300

What are the two turtle functions we use to fill in a drawing?

begin_fill() and end_fill()

300

It needs to loop 4 times not 2 because a square has 4 sides

300

Where does the turtle pen go? (Upper Left, Upper Right, Lower Left, Lower Right)

Upper Left

300

Print the numbers 1 to infinity

400

What do we call the screen that our turtle pen draws on

The Canvas

400

What line of code do you use to create a screen object? (canvas)

s = turtle.Screen()
400

How do I move the turtle pen without drawing on the canvas


Use t.up() and t.down()

400

400

500

What uses two number lines going left to right and down to up to help us plot points on a grid?

Coordinate System

500
Name a function that changes the color or size of the background

bgcolor() or setup()

500

Why is it not drawing a triangle?

The angle is wrong

It's 360 / 3 or 360 / sides

Not

360 / 10

500

500

M
e
n
u