Basic Math
Variables
Flow Control
General Python
Turtle
100

This character denotes the division operator.

What is the forward slash (/) ?

100

This common variable type stores letters, numbers, and symbols.

What is a string?

100

This often used statement checks the validity of a statement before creating a branch.

What is an 'if' statement?

100

To comment a line in Python, you use this/these character(s).

What is a pound sign (#) ?

100

the first statement that tells the computer you will be using turtle

what is:

import turtle

200

These characters have the highest order of operation in Python.

What are parenthesis?

200

This variable type stores decimal numbers.

What is a float?

200

This flow control statement loops through a set of statements if a test statement continues to evaluate to True.

What is a for or while loop?

200

The symbol for string concatenation.

what is the plus (+) sign?

200

the statement to change the shape to a turtle

what is turtle.shape("turtle")

300

The result of 9 / 5  

What is 1?

300

This function allows user input text to be assigned to a variable.

What is input()?

300

What is wrong with this code:

x = 100
for n in range(1,5):
x = x*n print x

what is the line after for i in range needs to be indented and print(x)

300

What is wrong with this code:

favorite = input("What is your favorite ice cream flavor?")

print("My favorite ice cream flavor is: "  favorite)

what is:

favorite = input("What is your favorite ice cream flavor?")

print("My favorite ice cream flavor is: " + favorite)

300

the command to move the turtle forward 50 pixels

what is turtle.forward(50)

400

To raise the number 5 to the power of 8, you must use the power operator. This/These symbol(s) denote the power operator.

What are two asterisks (**) ?

400

Data stored as a string is surrounded by these.

What are quotes?

400

This is used to test if something is True or False.

What is boolean operator?

400

Convert Integer to String for this code:

age = 18
string = "Hello, I am " + age + " years old"

what is:

age = 18
print("Hello, I am " + str(age) + " years old")


400

name the turtle bob

bob=turtle.Turtle()

500

Denoted as '%', this operator returns the remainder of a division operation.

What is the modulus?

500

Write a simple code that assigns 29 to the variable age

what is age=29?

500

The following Python code loops forever. What is it missing? 

n = 10
while n<100:
     print(n)

What is n=n*10?

500

The function to output content to the screen.

What is print function?

500

use a loop to draw a box 

what is 

for i in range(4):

turtle.forward(50)

turtle.right(90)

M
e
n
u