Represented with "%" it returns the remainder of the division between two numbers.
Back
For Loop
Front
A for loop lets us repeat code a fixed number of times.
Back
find( )
Front
Python method that returns the index at which the string is found in another string, returns -1 if not found.
Back
in
Front
Keyword that helps in iteration in loops
Back
Elif
Front
A control flow tool used as a second condition check after an if statement.
Back
Logical Operator
Front
Used to make logical associations between boolean values.
Back
islower( )
Front
A method that returns True if a string is all lowercase letters and False if otherwise.
Back
Return
Front
Exits a function, optionally passing back an expression to the caller.
Back
Concatenation
Front
Adding two strings together using the "+" operator.
Back
Boolean
Front
A True or False value
Back
input( )
Front
A function that prints a prompt and retrieves text from the user.
Back
extend( )
Front
Takes a list as an argument and extends the current list with the list given as an argument.
Back
tuple
Front
An immutable data type that stores an ordered sequence of things.
Back
Break
Front
Exits the current loop and resumes execution at the next statement.
Back
Exceptions
Front
Runtime errors in a program. by default, they stop the program.
Back
Functions
Front
Like a command that you get to invent and name. It allows us to break our program into smaller parts, making the program easier to understand.
Back
DeMorgan's Laws
Front
Rules that show how we can negate expressions with and and or.
Back
Argument
Front
The actual value of parameter variable that gets passed to the function.
Back
Parameter
Front
Pieces of information you can give to functions when you define them. When the function is called the arguments are the data you pass into the function's ____.
Back
Comment
Front
A message in your code that explains what is going on.
Back
count( )
Front
A method that counts occurrences of specific items in a list.
Back
Python
Front
A widely used programming language that is beginner friendly. Google, YouTube, and CodeHS are among the many companies that use it to build their products.
Back
Continue
Front
Rejects all the remaining statements in the current iteration of the loop and moves the control back to the top of the loop to continue to the next iteration.
Back
String Indexing
Front
Accessing certain characters in a string.
Back
Try and Except
Front
Programming constructs that can be used to gracefully handle exceptions so that a program can continue in spite of them.
Back
upper()
Front
Python method that changes letters to uppercase.
Back
Nested Control Structures
Front
To combine more than one control structure to create more complex programs with various conditions.
Back
String Immutability
Front
Strings cannot be mutated or changed.
Back
isupper( )
Front
A method that returns True if a string is all uppercase letters and False if otherwise.
Back
String Slicing
Front
Accessing specific chunks of a string.
Back
lower( )
Front
Python method that changes letters to lowercase.
Back
Floats
Front
Represent real numbers and are written with a decimal point dividing the integer and fractional parts.
Back
Print
Front
Displaying text on the screen.
Back
Function Body
Front
The indented block of code that comes after the def my_function(): line. It is what will be executed when the function is called.