Python 1
Python 2
Python 3
Python 4
Python 5
100

What do you call an expression that is either true or false?

What is Boolean?

100

"A 'chunk' of code that you can use over and over again."

What is a function?

100

A segment of a string  or list is called

What is a slice?

100

Four comparison operators

What is ==, !=, >= or <=?

100

Three arguments for range (in order):

eg:

for i in range(10, 2, -2):

What is start, stop, and step?

200

When you convert value to another data type  

What is a type conversion?

200

The value that is sent to the function when it is 'called'

What is an argument?

200

Breaking a sentence of words into a list.

What is a split?

200

When a while loop has no way to break out or end.


What is an infinite loop?

200

The variable listed inside the parentheses in the function definition

What is a parameter?

300

Code A is different from Code B.

Code A:

if (mj_is_cool == true):

Code B:

if (mj_is_cool == True):

What is an example of case sensitivity?

{Alternative answer}

What is a syntax error?

300

The conditional operators.

What is and, or, and not?

300

Text that is in your program but is not run or executed.

What is a comment?

300

The variable:

options = ["heads", "tails"]

is of this type.

What is a list?

300

Two of the benefits of writing a simulation program.

What is cost and safety?

400

Conditional with more than two branches

What is a an if/elif/else? 

400

Building single string from a list of items.

What is a 'join'?

400

The variable that changes each time the loop executes and controls when the loop finishes

What is the iteration variable or the iterator?

400

This keyword is used to end the current iteration in a for loop (or a while loop), but still continues to the next iteration

What is continue?

400

x = False

y = True

not(x) and y

What is true?

500

What are two or more attributes of functions

What is 'They take arguments, some are built-in via an API, some require importing(like random), they have return values'?

500

A conditional loop that is used an unknown amount of times.

What is a while loop?

500

An immutable homogenous list.


What is a tuple?

500

That which is used to deliver or pass a variable value to another function.


What is an argument? 

{alternative answer}

What is a parameter?

500

Data structure which lets you create a sequence of any data type.

What is a tuple or a list?

M
e
n
u