![]() ![]() |
Conceptual Review (page 50 of 55) |
An argument is a value we pass to the function as its input when we call the function. Arguments are stored in the function's parameters.
We use arguments so we can direct the function to do different kinds of work when we call it.
We put the arguments in parentheses after the name of the function when we are calling the function.

When passing arguments to functions, we have to be careful about the data types. Certain functions may expect us to pass numerical values and will throw a traceback error message if we pass the wrong data type.