Data Structures
Control Flow & Logic
Functions & Methods
Operators & Expressions
100

This ordered, grow-as-you-go container is written with square brackets.

What is a list?

100

The one-word keyword that starts a basic decision in Python

What is if?

100

Every new function starts with this three-letter keyword.

What is def?

100

The double-equals sign checks for this.

What is equality?

200

In the list fruits, this one-line index reveals the very first fruit.

What is fruits[0]?  

200

Run if 5 > 2: print("yes") and this three-letter word appears.

What is "yes"?

200

Inside a function, this word hands a value back to the caller.

What is return?

200

One symbol assigns a value; the other compares two values.

What are = and ==?

300

One of these containers is mutable; the other, created with round brackets, is not.

What are a list and a tuple?

300

The middle child between if and else in a decision chain.

What is elif?

300

A tiny routine that prints “Hello, <name>!” whenever given a name.

What is def greet(name): print(f"Hello, {name}!")?

300

Python returns this integer when you evaluate 9 // 2 using the floor-division operator.

What is 4?

400

Turning the string "banana" into this collection removes all repeated letters.

What is a set?

400

This optional clause can follow a for loop and runs only if the loop finishes without hitting a break.  

What is the loop else clause?

400

In one sentence: the item in the function header vs. the actual value you pass in.

What are a parameter and an argument?

400

According to Python, the expression 15 % 4 + 2 * 3 simplifies to this final value.

What is 9?

500

A single variable that maps student names to their lists of grades.

What is a dictionary?

500

While searching through a loop, this single keyword lets Python escape the loop immediately once the target is found.

What is break?

500

Complete the line def is_even(n): so the function returns True for even numbers.

What is return n % 2 == 0?  

500

This two-character operator returns True when two values are not equal.

What is !=?

M
e
n
u