argument

A value you pass to a function when you call it, written inside the parentheses of the call.

In more detail

In greet("Ana"), "Ana" is the argument; in the definition def greet(name), name is the parameter that receives it. An argument can be any expression, which is evaluated before the call. Arguments are matched to parameters by position, or by name when written as keyword arguments.

Related terms

Taught in

References

Certification courses