Functions
Conditional Loops
Loops and Iteration
Syntax
100

The keyword used to define a new function in Python

what is def

100

This keyword is used to check a secondary condition if the first if statement is false

What is else

100

This type of loop continues to run as long as a specific condition remains true

What is a while loop

100

Instead of curly braces, Python uses this to define which code belongs inside a function or a loop

what is white space

200

These are the placeholders inside a function's parentheses that receive data when the function is called

What are parameters
200

The comparison operator used to check if two values are exactly equal

what is ==

200

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

200

This module must be imported if you want to generate a random number for a game

what is random

300

This statement is required to send a value back from a function so it can be used elsewhere in your code

What is return

300

This "catch-all" block runs only if every preceding if and elif condition is false

what is else
300

This keyword is used to immediately exit a loop, regardless of the condition

what is break

300

These characters are used to wrap strings in Python

what is “” or ''

400

Which function is intended to receive something from the user

What is input

400

The boolean result of the following expression: not (5 > 3)

what is False

400

This function is commonly used with for-loops to generate a sequence of numbers (e.g., 0 to 9)

What is range()

400

This is the specific error you get if you forget the colon (:) at the end of an if statement

What is a SyntaxError

500

This function is used when you want to put something on the screen for the user to see

What is print

500

This logic operator requires both conditions to be true for the entire statement to be true

what is and

500

Correct way to loop through a list in python

what is for _ in list
500

This symbol is used to create a single-line comment that the computer ignores

What is a #