Formal and Actual Arguments

Formal Arguments:

  • When a function is defined, it may have some parameters. These parameters are useful to receive values from outside of the function. They are called Formal arguments.

Actual Arguments:

  • When we call the function, we should pass data or values to the function. These values are called actual arguments.

Type of actual arguments:

  1. Positional arguments 

  2. Keyword arguments 

  3. Default arguments 

  4. Variable length arguments