These are control structures that do different things based on a Boolean value
What are conditionals?
These are the three main logical operations
What are AND, OR, and NOT?
This is the function that converts strings to numbers
What is int()?
This is the output of the code:
range(17,12,-1)
What is [17,16,15,14,13]?
These are the variables for the data that is passed into a function
What are arguments?
This is the Boolean value of:
True AND (NOT False)
What is True?
This is how we call functions from a module
What is modulename.function(arguments)?
This is the output of the code:
for x in range(6):
if x % 2 != 0:
print(x)
What is 1,3,5?
This is the command for remotely logging onto the server (and what it stands for)
What is SSH (secure shell)?
This is the Boolean value of:
(NOT True) OR False
What is False?
This is the keyword used in functions to output data from the function
What is return?
This is what this code does:
random.randint(1,100)
What is generates a pseudorandom number between 1 and 100?
This is the term for the computer preparing a program to run?
What is compilation?
This is how Boolean values are stored by the computer
What is 0 (False) and 1 (True)?
This is how we denote a specific item in a list
What is list[x]?
This is what the code will output:
print(-1 * abs(x))
What is print out negative x (whether x was originally negative or positive)?
This is the character that is printed after every print() statement
What is a newline character?
This is the logical operation that returns True when only one of the variables is True
What is XOR (exclusive or)?
This is the function that adds something to the end of a list
What is append()?
This is what this code means:
if __name__ == "__main__":
What is the main function (code that is run when the program is run)?