Parameter

Meaning

A variable used in a function to refer to one of the pieces of data provided as input.

Usage Examples

  • Parameters allow functions to accept input values.
  • In Python, parameters are defined in the function definition.
  • Parameters can have default values.
  • Function parameters are used to pass data into functions.