A function is 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.
Control structure that lets us run either one section of code or another depending on a test.
A control flow tool used as a second condition check after an if statement. It is a contraction of else if.
Displaying text on the screen
A number that divides another number evenly, leaving no remainder.
A positive or negative whole number.
A sequence of characters surrounded by quotation marks.
A positive or negative whole number.
A sequence of characters surrounded by quotation marks.
An if statement lets you ask a question to the program and only run code if the answer is true.
Represented with "%" it returns the remainder of the division between two numbers. For example, `14%5` would return 4.
A for loop repeats code a specific number of times.
The largest positive integer that divides evenly into a set of numbers.
Prints values in the console
Popular programming language
Converts number to text
Joins items in a print() statement
Assigns the value to the variable
A variable with text as the value
A variable with a whole number as the value
Relationship between three sides of a right triangle: a^2 + b^2 = c^2
Imports the python math module functions
Math function that takes the square root of the inputted parameters
A function that prints a prompt and retrieves text from the user.
Converts a string into an integer
Stores the response as an integer
Popular programming language
A variable with a decimal number as the value
Converts a string into a float
Stores the response as a float
Executes code only if condition is true
Executes code only if all conditions are false
How far an object travels.
How far, and in what direction, the object is from where it started.
A measurement that has a magnitude and direction.
A measurement that has only a magnitude (no direction).
The X and Y pieces of a vector.
How fast, and in what direction, an object is moving.
The square of the hypotenuse equals the sum of the squares of the other two sides on a right triangle.
Python library that provides a collection of mathematical functions and arrays.
Also called a list. A data structure that holds a collection of values in a particular order
A number can be positive, negative, or zero WITH a decimal component. 3.2; 0.0; 4.5652
Method for adding vectors.
The final solution vector when doing vector arithmetic.