This is a labeled box that stores information like a name, health, or gold.
What is a Variable?
This Python statement checks whether a condition is true.
What is an if statement?
This Python data type stores multiple items like weapons or keys in one variable.
What is a list?
This keyword is used to define a function in Python.
What is def?
This error happens when Python doesn’t understand your code because of missing symbols.
What is a SyntaxError?
This Python function is used to display text on the screen.
What is print()?
This method turns player input into lowercase so choices like “LEFT” and “left” match.
What is .lower()?
This list method is used to add an item to the inventory.
What is .append()?
In the text adventure game, each room is best represented as one of these.
What is a function?
This error is caused by incorrect spacing or indentation in your code.
What is an IndentationError?
Text values in Python that go inside quotation marks are called these.
What are strings?
This operator checks if two values are equal.
What is == ?
This keyword lets you repeat an action for each item in a list.
What is a for loop?
This is what you do when you want a function to run.
What is calling a function?
This error occurs when you use a variable name that doesn’t exist.
What is a NameError?
This symbol is used to assign a value to a variable in Python.
What is = ?
This conditional keyword runs when all previous conditions are false.
What is else?
This type of loop continues running as long as its condition is true, often used in combat.
What is a while loop?
This is one major reason functions are useful: they help organize code into logical chunks.
What is code organization?
This error often happens when you try to mix strings and numbers without converting them.
What is a TypeError?
This special kind of string lets you mix variables directly into text using {}.
What is an f-string?
Forgetting this symbol at the end of an if, elif, or else statement causes a SyntaxError.
What is a colon (:)?
This Python module is used to generate random damage during combat.
What is random?
Forgetting this after defining a function will cause it to never run.
What is calling the function (using name())?
This kind of bug happens when a while loop never becomes false and runs forever.
What is an infinite loop?