verified solutions (Guaranteed
Success )
python interpreter - answer program that executes code written in
python
interactive interpreter - answer program that allows the user to execute
one line of code at a time
line - answer row of text
prompt - answer (">>>") indicates the interpreter is ready to accept
code
statement - answer program instruction
expressions - answer code that return a value when evaluated
variables - answer named references to values stores by the interpreter
,end=' ' - answer A keyword parameter for the print() function that
causes the function to NOT add a newline at the end of the string.
runtime error - answer wherein a program's syntax is correct but the
program attempts an impossible operation, such as dividing by zero or
multiplying strings together (like 'Hello' * 'ABC').
logic error - answer An error in a program that makes it do something
other than what the programmer intended. aka a bug
IDLE - answer official python IDE
basic environment for editing and running programs
PEP 8 - answer The official guidelines for Python code formatting
garbage collection - answer automated process of deleting unused
objects, helps keep memory of the computer less utilized
name binding - answer process of associating names with interpreter
objects
mutability - answer indicated whether the objects value is allowed to be
changed
, immutable - answer unchangeable, integers and strings are immutable
floating-point number - answer a real number, like 98.6, 0.0001, or -
666.667. The term "floating-point" refers to the decimal point being
able to appear anywhere ("float") in the number. Thus, float is a data
type for floating-point numbers.
floating-point literal - answer written with the fractional part even if
that fraction is 0, as in 1.0, 0.0, or 99.0.
scientific notation in python - answer written using an e preceding the
power-of-10 exponent, as in 6.02e23 to represent 6.02x1023. The e
stands for exponent. Likewise, 0.001 is 1x10-3, so it can be written as
1.0e-3.
overflow - answer error that results when the number of bits is not
enough to hold the number
symbol for outputting certain number of digits after decimal point -
answer :2f}' (for 2 digits after decimal point)
expression - answer combination of items, like variables, literals,
operators, and parentheses, that evaluates to a value, like 2 * (x + 1)