AI engineering glossary · Python core
What is argument?
Argument: The actual value supplied to a function when calling it, which is matched to the function's parameters by position or by name. Arguments are what the caller provides; the function's parameters are the names that receive them inside the function.
Argument: an example
In power(2, 5) the values 2 and 5 are arguments passed to the parameters base and exp.
Related terms
More Python core terms
- Arithmetic operator
- Assignment
- Augmented assignment
- break
- Comment
- Comparison operator
- Conditional expression
- Constant
Where you learn it
Argument is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.