Data Types
Control Flow
Builtin Functions
String Formatting
Random Python Knowledge
100

A non-decimal number.

Include an example.

What is an int?

example: 7

100

A conditional statement.

What is an if statement?

100

This function allows you to output to the console.

What is print(str)?

100

This is the output of the following code:

x = 7
y = 3
print(x + y)

What is:

10
100

The name of each "address" in a list.

What is an index?

200

A decimal number.

Include an example.

What is a float?

Example: 3.0
200

This can only have a value of True or False.

What is a boolean?

200

This function allows you to get the data type of a variable.

What is type(var)?

200

This is the output of the following code:

x = '7'
y = "3"
print(x + y)

What is:

'73'
200

The version of Python I asked you to install on your computers.

What is 3.6 or later?

This is because f-strings were released in python3.6.

300

Words, sentences, and more.

Include an example.

What is a string?

Example: "Hello, world!"

300

This allows code to be repeated a specified number of times.

What is a for loop?

300

This function allows you to turn (almost) any value into a string.

What is str(val)?

300

This is the output of the following code:

name = 'Jackson'
company = 'j1442 LLC'
print('{user_name} works at {user_company}'
       .format(user_name=name, 
               user_company=company)
     )

What is Jackson works at j1442 LLC?

300

This is how you "escape" a single quote in a string.

What is \'?

400

A simple collection of data.

Include an example.

What is a list?

Example: [10, 20, 30, 40, 50]

400

This allows code to be repeated an unspecified number of times.

What is a while loop?
400

This function allows you to get user input from a prompt.

What is input(prompt)?

400

What is the output of the following code?

name = 'Johnny'
age = 34
print(f'{name} is {age-11} years old.')

What is Johnny is 23 years old.?

400

The expanded form of the acronym "IDE."

What is Integrated Development Environment?

500

A collection of key/value pairs.

Include an example.

What is a dictionary?

Example: {'Jackson': 100, 'Ethan': 150, 'Justin': 15}

500

This is the syntax for a runner in python.

What is

if __name__ == '__main__':
500

This function allows you to read a file.

What is open()?

500

This is the output of the following code:

print(f'{Joey} is {17+13} years old.')

What is ERROR?

500

The value that represents "nothing" in python.

What is None?