keyword argument

An argument passed by naming the parameter it is for, as in print(x, end=""), instead of by position.

In more detail

Keyword arguments come after any positional ones and can be in any order. They make calls clearer and let you skip optional parameters. A dictionary can supply many at once with **, as in format(**d).

Related terms

Taught in

References

Certification courses