What Did You Call That?
-
A function definition introduces a new variable that refers to a function object. The return statement describes the value that will be produced as a result of the function when this function is done being executed.
-
A parameter is a variable that appears between the parentheses of a function header.
-
A local variable is a variable that is used in a function definition to store an intermediate result in order to make code easier to write and read.
-
A function call tells Python to execute a function.
-
An argument is an expression that appears between the parentheses of a function call. The value that is produced when Python evaluates the expression is assigned to the corresponding parameter.
-
If you made assumptions ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access