A data type that has one of two possible values
What is a boolean?
Operator used to store the result of the value on its right, in the variable on its left
What is the assignment operator? (=)
Keyword used to define a function
What is def?
Used to repeat a portion of code a set number of times until the desired process is complete.
What is a loop
A data type that holds a number that has a decimal place (e.g.: 2.71828)
What is a float?
Used to compare two values for inequality
What is the inequality operator? (!=)
Looking for 2 answers:
1: The action of writing the function, before using it.
2: The action of invoking that function.
What is defining a function? And what is calling a function?
An event, which occurs during the execution of a program that disrupts the normal flow of the program's instructions.
What is an exception?
Used to store multiple items in a single variable. Created using []
What is a list?
Logical operator that evaluates to true if the value on its left side and on its right side are both true
What is the AND logical operator?
A statement ends the execution of a function and sends the value back to the caller
What is a return statement?
Keyword/statement that stops the loop in which it is placed
What is break?
A data type used to store key-value pairs in a single variable. Created using { }
What is a dictionary?
Operation done using // operator in Python3
What is integer division?
Keyword to cause a specific exception to occur
What is raise?
A character encoding standard for electronic communication. Represents text in computer
What is ASCII?
A collection of items that is unordered and does not allow for duplicates. Created using { }
What is a set?
Operator used to get the remainder of an integer division
What is modulo (%)?
A function whose definition involves itself. (i.e.: function that calls itself)
What is a recursive function?
Pattern used to match character combinations in strings
What is a regular expression (e.g. "^The.*Spain$")