Variables & Print
Conditionals
Lists & Loops
Functions
Hodge Podge
100

This is a labeled box that stores information like a name, health, or gold.

What is a Variable?

100

This Python statement checks whether a condition is true.

What is an if statement?

100

This Python data type stores multiple items like weapons or keys in one variable.

What is a list?

100

This keyword is used to define a function in Python.

What is def?

100

This error happens when Python doesn’t understand your code because of missing symbols.

What is a SyntaxError?

200

This Python function is used to display text on the screen.

What is print()?

200

This method turns player input into lowercase so choices like “LEFT” and “left” match.

What is .lower()?

200

This list method is used to add an item to the inventory.

What is .append()?

200

In the text adventure game, each room is best represented as one of these.

What is a function?


200

This error is caused by incorrect spacing or indentation in your code.

What is an IndentationError?

300

Text values in Python that go inside quotation marks are called these.

What are strings?

300

This operator checks if two values are equal.

What is == ?

300

This keyword lets you repeat an action for each item in a list.

What is a for loop?

300

This is what you do when you want a function to run.

What is calling a function?

300

This error occurs when you use a variable name that doesn’t exist.

What is a NameError?

400

This symbol is used to assign a value to a variable in Python.

What is = ?

400

This conditional keyword runs when all previous conditions are false.

What is else?

400

This type of loop continues running as long as its condition is true, often used in combat.

What is a while loop?

400

This is one major reason functions are useful: they help organize code into logical chunks.

What is code organization?

400

This error often happens when you try to mix strings and numbers without converting them.

What is a TypeError?

500

This special kind of string lets you mix variables directly into text using {}.

What is an f-string?

500

Forgetting this symbol at the end of an if, elif, or else statement causes a SyntaxError.

What is a colon (:)?

500

This Python module is used to generate random damage during combat.

What is random?

500

Forgetting this after defining a function will cause it to never run.

What is calling the function (using name())?

500

This kind of bug happens when a while loop never becomes false and runs forever.

What is an infinite loop?