what are the types of parameters used in a function
Answers
Answered by
0
Answer:
A function can take parameters which are just values you supply to the function so that the function can do something utilising those values. These parameters are just like variables except that the values of these variables are defined when we call the function and are not assigned values within the function itself.
Answered by
0
Answer:
5 Types of Arguments in Python Function Definition:
- default arguments. ...
- Keyword Arguments: Functions can also be
- called using keyword arguments of the form
- kwarg=value. ...
- Positional Arguments. ...
- arbitrary positional arguments: ...
- Keyword only Arguments
Similar questions