variable: A name that refers to a value.
assignment: A statement that assigns a value to a variable.
keyword: A reserved word that is used to parse a program; you cannot use keywords like if, def, and while as variable names.
expression: A combination of variables, operators, and values that represents a single result.
evaluate: To simplify an expression by performing the operations in order to yield a single value.
statement: A section of code that represents a command or action. So far, the statements we have seen are assignments and print statements.
execute: To run a statement and do what it says.
function: A named sequence of statements that performs some useful operation. Functions may or may not take arguments and may or may not produce a result.
argument: A value provided to a function when the function is called. This value is assigned to the corresponding parameter in the function.
script mode: A way of using the Python interpreter to read code from a script and run it.
script: A program stored in a file (like main.py
).
comment: Information in a program that is meant for other programmers (or anyone reading the source code) and has no effect on the execution of the program.
exception: An error that is detected while the program is running.