Variable Types
Operators
Statements
PEMDAS Grab Bag!
The Great Escape!
100

This type of variable can only have two values: True or False

What is a boolean?

100

In Python this is the operator for multiplication.

What is an asterisk? (or star)

100

It's what this statement does:
print("Hello world!)

What is prints Hello World! to the screen.

100

It's what this statement will output:
print(3 - 2 + 5).

What is 6?

100

This is the escape character to print a new line in a string.

What is \n?

200

This type of variable is used to store text which can include letters, numbers and symbols.

What is a string?

200

In Python, this is the operator you place between numbers to divide them.

What is a /? (or slash)

200

This is the statement you use to ask the user to enter information like a name or number.

What is input?

200

It's what this statement will output:
print(6 / 2 * 3)

What is 9?

200

This is the escape character to print extra space or a tab in Python.

What is \t?

300

This type of variable is used to store only whole numbers. They cannot have decimal points.

What is an integer?

300

In Python, this operator allows you to raise a number to a power.

What is two asterisks? (star star)

300
This is the statement you use to act when a certain condition is true, also known as a conditional statement.

What is an if statement?

300

It's the operation that happens first in this statement:
print(6 + 2 / 3 * 4 + (1 + 1))

What is (1+1)?

300

This is the escape character to print a backslash.

What is \\?

400

This type of variable is used to store numbers that include decimal points.

What is a float? (or floating point)

400

In Python, this is the operator you use to compare two items to see if they are equivalent.

What is ==?

400
It's the output this statement produces:

x = 10
y = 20
print(str(y/x))

What is 2?

400

It's the operation that happens first in this statement:
print(2 * 3 ** 6)

What is 3 ** 6?

400

This is the escape character to print a quotation mark.

What is \"?

500

This is what it's called in Python when you change a variable's type to perform certain operations on it, like printing it in a print statement.

What is typecasting?

500

In Python, this is the assignment operator, for when you load a value generated on the right side of the operator to the variable on the left side of the operator.

What is the equal sign? (=)

500

It's what this statement does:
import random
num = int(random.randint(10, 20))
print(str(num))
if num > 14:
     print("Wow this is a big number!")
else:
     print("This number isn't very big.")

What is generates a random number between 10 and 20 and prints a message depending on the size of the number?

500

It's the operation that happens last in this statement:

print(1 * 3 + (8 * 2))

What is addition? (or 3 + 16)

500

This is the escape character for a single quote ' in Python.

What is \'?