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.

Level: beginnerTopic: Python core

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

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.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.