What do you call an expression that is either true or false?
What is Boolean?
"A portion of code that you can use over and over again."
What is a function?
A segment of a string or list is called
What is a slice?
Four comparison operators
What is ==, !=, >= or <=?
Three arguments for range (in order):
eg:
for i in range(10, 2, -2):
What is start, stop, and step?
When you convert value to another data type
What is a type conversion?
The value that is sent to the function when it is 'called'
What is an argument?
Breaking a sentence of words into a list.
What is a split?
When a while loop has no way to break out or end.
What is an infinite loop?
The variable listed inside the parentheses in the function definition
What is a parameter?
One notable difference between the list and tuple is that
Lists are mutable and tuples are immutable.
Tuples need less memory than lists
Tuples are faster to iterate through than lists
The conditional operators.
What is and, or, and not?
Text that is in your program but is not run or executed.
What is a comment?
The variable:
options = ["heads", "tails"]
is of this type.
What is a list?
Two of the benefits of writing a simulation program.
What is cost and safety?
Conditional with more than two branches
What is a an if/elif/else?
Building single string from a list of items.
What is a 'join'?
The variable that changes each time the loop executes and controls when the loop finishes
What is the iteration variable or the iterator?
It is considered a bad programming practice while using loops.
What is break?
x = False
y = True
not(x) and y
What is true?
This operator is used for exponentiation in python
What is double asterisk **?
A conditional loop that is used an unknown amount of times.
What is a while loop?
An immutable homogenous list.
What is a tuple?
What is a parameter?
Data structure which lets you create a sequence of any data type.
What is a tuple or a list?