The keyword used to define a new function in Python
what is def
This keyword is used to check a secondary condition if the first if statement is false
What is else
This type of loop continues to run as long as a specific condition remains true
What is a while loop
Instead of curly braces, Python uses this to define which code belongs inside a function or a loop
what is white space
These are the placeholders inside a function's parentheses that receive data when the function is called
The comparison operator used to check if two values are exactly equal
what is ==
This type of loop is best used when you want to iterate over a sequence, like a list or a range of numbers
what is a for loop
This module must be imported if you want to generate a random number for a game
what is random
This statement is required to send a value back from a function so it can be used elsewhere in your code
What is return
This "catch-all" block runs only if every preceding if and elif condition is false
This keyword is used to immediately exit a loop, regardless of the condition
what is break
These characters are used to wrap strings in Python
what is “” or ''
Which function is intended to receive something from the user
What is input
The boolean result of the following expression: not (5 > 3)
what is False
This function is commonly used with for-loops to generate a sequence of numbers (e.g., 0 to 9)
What is range()
This is the specific error you get if you forget the colon (:) at the end of an if statement
What is a SyntaxError
This function is used when you want to put something on the screen for the user to see
What is print
This logic operator requires both conditions to be true for the entire statement to be true
what is and
Correct way to loop through a list in python
This symbol is used to create a single-line comment that the computer ignores
What is a #