Turtle Basics
Moving Turtle
Drawing with Turtle
Python!
RANDOM
100

Default size of Tracy's world

400 x 400 pixels

100

How do we move the Turtle 50 "pixels" forward? 

forward(50)

100

What shape does this code draw? 

forward(50)

right(90)

forward(50)

right(90)

forward(50)

right(90)

forward(50)

right(90)

A square

100

What can we use that allows us to repeat code multiple times? 

A for loop!

100

True or False: Turtle is a shape in python?

True

200

How many pixels does Tracy move at a time?

What you enter for movement.

200

How do we turn the Turtle right, 175 degrees? 

right(175)

200

Time to draw a Square with a loop! Fill in the blank: 

____ i in range(___): 

    forward(50)

    right(___)


for i in range(4): 

    forward(50)

    right(90)

 

200

If we want to write comments in Python what can we write as the first character?

"#"

200

What number speed() is the fastest?

speed(0) 

300

What angle does Tracy turn at a time?

Any angle you enter

300

What commands can we use to create 10 circles 10 pixels in radius that are 20 pixels apart? 

USE:    for i in range():

for i in range(10):

    circle(10)

    forward(20)

300

What command would we write to change the color of the turtle to red? 

color("red")

300

In Python, how can we comment out multiple lines?

""" 

this is a multi

line comment

"""

300

When drawing "Spirals" what shape do we repeat over and over to get the spiral shape? 

A circle

400

Command to make Tracy start drawing

pendown()

400

What command(s) can we use that moves the turtle backward 50 units?

backward(50) OR forward(-50)


400

List the three commands can we use to move the turtle without drawing on the screen? hint use goto()

penup() Lifts Turtle off screen

setpositiona(x, y) Moves turtle to x, y

pendown()


400

How do you use the function forward()

You write the function name and enter a number in parenthesis.

400

How do we tell Python what lines of code we want in a for loop? 

Indentation! 

500

Where on the screen does the Turtle start off and what direction does it face? 

Center and facing right

500

What command allows us to reset the Turtle location to be at the center of the screen? 

setposition(0, 0)

clear()

500

What shape does this draw? 

for i in range(5):

        forward(100)

        right(144)

A star! 

500

True/False: You can use letters in the forward() command?

False: numbers only

500

Python is named after the snake?

FALSE. Python is named for the comedy series Monty Python

M
e
n
u