Basic Math
Variables
Flow Control
General Python
String Operations
100

This is the operator for integer division. It always returns a whole number.

What is the double slash (//) ?

100

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

What is a string?

100

This statement must correspond to an if statement, and must include a Boolean condition of its own.

What is an 'elif' statement?

100

These are the two characters (or character sequences) you can use to add comments in Python code

What is a pound sign (#) and three quotes twice (''' comment ''') ?

100

This operator "glues" two strings or lists together.

What is the concatenation (+) operator?

200

When determining order of operations in Python expressions, these characters indicate that the enclosed expression should get the highest priority.

What are parentheses?

200

This variable type stores decimal numbers.

What is a float?

200

This flow control statement takes a list or string and runs the contained code once for each element.

What is a for loop?

200

This commonly used Python data structure contains a collection of items referenced by a numeric index.

What is a list?

200

The following code prints this word.

What is 'kilogram'?

300

The result of 13 % 6

What is 1?

300

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

What is input()?

300

What is the value of 'x' after the following Python code has completed executing?

What is 22?

300

In Python, this element of a program evaluates down to a single value, but it does not (by itself) change the value of any variables.

What is an expression?

300

This is the function used to ensure that there are no upper case characters in a string.

What is lower()?

400

((5 - 2) * 3) != (19 % 10)

What is False?

400

A dictionary consists of a mapping between these two pieces of data.

What are keys are values?

400

This is the value of "num" after the following code executes:

What is 59?

400

These are the four main parts of a computer, other than software.

What are processor, memory/RAM, disk, and I/O?

400

This a boolean expression that checks whether the character 'b' is in the string my_word

What is "b in my_word"?

500

(2 ** 5) + ( (7 * 4) % 10 )

What is 40?

500

To determine the variable type of a variable, you would use this function.

What is type()?

500

The value of i after the following code executes:

What is 2?

500

This built-in Python function returns the length of many objects, including Lists.

What is len()?

500

In order to add a single quote to a string (which is bordered by single quotes), you will need this character

What is the escape character or forward slash (\)?

M
e
n
u