Parameters are the value(s) provided in the parenthesis when we write function header. These are the values required by function to work. Let‟s understand this with the help of function written for calculating area of circle.
radius is a parameter to function area.
If there is more than one value required by the function to work on, then, all of them will be listed in parameter list separated by comma.
Arguments are the value(s) provided in function call/invoke statement. List of arguments should be supplied in same way as parameters are listed. Bounding of parameters to arguments is done 1:1, and so there should be same number and type of arguments as mentioned in parameter list.
of argument in function call
>>> area (5)
5 is an argument. An argument can be constant, variable, or expression.